mynetworks and postfix config questions

Francois Rolland francois.rolland at alma.fr
Fri Apr 29 15:59:34 CEST 2011


 
>Hi,
Hello Alex

>I have amavis set up with postfix and spamassassin to relay mail for a few domains after it is scanned to its final destination. Outbound mail for these domains are processed by another system. This is only for inbound mail. The server itself is not in one of the domains for which it is relaying mail.
>
>I've read quite a bit about how my setup should be configured, but I'm still receiving messages like "Open relay? Nonlocal recips but not originating: gene.conklin at mydomain.com".
>
>I've set up @mynetworks to include the networks that amavis should consider trusted. I have @local_domains_map set with only ".$mydomain".
>
>Should @local_domains_map also contain the domains for which it relays mail? It was unclear to me from the reading I did. It sounded more like it should be used for the client domains that would be connecting.
...


You are right : in order to get rid of these warning messages from amavis, you have to list in @local_domains_map the domains you are relaying mails to.

Francois


More information about the amavis-users mailing list