Re: Relay Access Denied using SASL

2010-10-19 Thread Charles Marcus
On 2010-10-19 1:42 AM, Yang Zhang wrote: > smtpd_recipient_restrictions is specified a second time. > > A depressing amount of time was spent debugging this. For future reference, this is exactly why you should never go by what you see in main.cf (nor should you post excerpts from it here), but w

Re: Relay Access Denied using SASL

2010-10-18 Thread Yang Zhang
*Facepalm* smtpd_recipient_restrictions is specified a second time. A depressing amount of time was spent debugging this. On Mon, Oct 18, 2010 at 10:30 PM, Yang Zhang wrote: > Omitted one important detail: this failure is seen when attempting to > send from clients outside the network.  Sending

Re: Relay Access Denied using SASL

2010-10-18 Thread Yang Zhang
Omitted one important detail: this failure is seen when attempting to send from clients outside the network. Sending from mynetworks (e.g. localhost) works fine. On Mon, Oct 18, 2010 at 10:29 PM, Yang Zhang wrote: > I have in /etc/postfix/main.cf: > >    smtpd_sasl_auth_enable = yes >    smtpd_r

Relay Access Denied using SASL

2010-10-18 Thread Yang Zhang
I have in /etc/postfix/main.cf: smtpd_sasl_auth_enable = yes smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination and SASL seems to be working: $ testsaslauthd -u yang -p ... -f /var/spool/postfix/var/run/saslauthd/mux -s smtpd 0: