| |||||||||||||||||||||||||||||||
|
i'm using cyrus sasl to relay only authenticated clients. Part of my main.cf is: #-------------------------------------------------- smtpd_sasl_auth_enable=yes mynetworks_style=host smtpd_sasl_local_domain= smtpd_recipient_restrictions=permit_mynetworks,permit_sasl_authenticated,reject_ unauth_destination smtpd_sasl_path=smtpd broken_sasl_auth_clients=yes #------------------------------------------------- Using this configuratios, only authenticated clients can send email to external domains. But, how can i enforce this restriction to my internal domains too? When one of my users sends an email to another user (within the same domain) sasl is not enforced. Also, i want to exclude an IP address from the sasl restrictions. The reason for that is that a php module needs to send emails through my user. I've used: smtpd_recipient_restrictions=hash:/etc/postfix/allowed_ip,permit_mynetworks,perm it_sasl_authenticated,reject_unauth_destination i've put in allowed_ip: myip PERMIT but is does not work! Any ideas would be helpful Thanks -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
| ||||||||||||||||||||||||||||||
© 2004-2008 readlist.com