This is a discussion on Relay problem within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; LS, I run postfix 1.11.1 and have quite a few relatives which can relay through my server. Since ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
LS,
I run postfix 1.11.1 and have quite a few relatives which can relay through my server. Since I don't know their IP addresses, and also they dynamically change, my server is in fact an open relay. Thats why I use SMTP authentication (SASL) for all my clients. This is secure enough, but now I meet a problem when I try to fight spam. I like to use RBL checking and added the following entries in main.cf: maps_rbl_domains = relays.ordb.org, bl.spamcop.net, blackholes.easynet.nl, relays.ordb.org, sbl.spamhouse.org, list.dsbl.org, proxies.relays.monkeys.com, dsn.rfc-ignorant.org, opm.blitzed.org, cn-kr.blackholes.us smtpd_recipient_restrictions = reject_invalid_hostname, # reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_unauth_pipelining, permit_mynetworks, reject_unauth_destination, reject_maps_rbl, permit The problem is that the permit_mynetworks directive keeps me from relaying, since I defined $mynetworks as 127.0.0.1 only. (The only host that can relay without smtp authentication is localhost) So what happen for short: When I try to relay from a remote network: - I authenticate for relay (OK) - I am rejected due to the permit_mynetworks. How can I solve this? Thanks for your time, Mike. |