Russell Coker wrote:
> help message).  But if I send mail from outside the network I get the
> following:
> <[EMAIL PROTECTED]>: mail for server.example.com loops back
> to myself
>
> Now lists.example.com is a CNAME pointing to server.example.com.
>
> So why is mail sent from the local machine with mailx working, while a message
> sent on port 25 with the same content is rejected?

External MTA are rewriting (canonifying) [EMAIL PROTECTED] to [EMAIL PROTECTED]
because of the CNAME pointing to it. So your postfix will never see any
[EMAIL PROTECTED] addresses.

RFC 2181
10.3. MX and NS records
    The domain name used as [...] part of
    the value of a MX resource record must not be an alias.

So it's best to change the DNS records:
server.example.com  IN A  w.x.y.z.
lists.example.com   IN MX server.example.com.


Henrik




Reply via email to