I'd like to use the smtp server of a specific host instead of the one of
my ISP, of course, I have such a server (running Fedora core 3).
meantime, I want to avoid all unwanted relaying (so that my host is not
use to send spams), but I need to be able to send mails from individual
PC whose IP (coming from ISP) doesn't share the same range as my server.
let says my domain is named 'ABC', also note there are several domain
names pointing out to it
I have configured postfix, in /etc/postfix/main.cf as follows:
my understanding is that postfix will accept to relay all mails
(whatever IP of sender/poster) if the target email is one of the
$mydestination address - and indeed I want to send mail to, says,
alice@ABC.fr or bob@ABC.com
but it doesn't work, postfix log says:
Feb 8 18:08:08 flwb727 postfix/smtpd[13292]: connect from <ISP name>
Feb 8 18:08:08 flwb727 postfix/smtpd[13292]: NOQUEUE: reject: RCPT from
<ISP name>: 554 <bob@ABC.com>: Relay access denied; from=<alice@ABC.fr>
to=<bob@ABC.com> proto=ESMTP helo=<myPC.ABC.fr>
Feb 8 18:08:08 flwb727 postfix/smtpd[13292]: disconnect from <ISP name>
so I forgot something, but what ?? thanks for any help.
(note that getting mails sent with my ISP smtp from that server works fine).