> On Feb 3, 2015, at 6:13 PM, Viktor Dukhovni <postfix-us...@dukhovni.org> > wrote: > > On Tue, Feb 03, 2015 at 05:54:00PM -0800, Jim McCorison wrote: > >> I am trying to get a new installation of postfix up and running. The >> specifics are: >> Raspbian Wheezy >> Postfix 2.9.6 >> All updates are current >> >> I have configured it using sasl to connect to an SMTP server via port 587. I >> have configured the SMTP server and its associated username:password in the >> sasl_passwd file and run postmap against. If I run: >> >> postmap -q [servername]:587 /etc/postfix/sasl_passwd >> >> It gives me the correct username:password. However when I attempt to send >> mail Postfix attempts to authenticate using the login name of the user >> sending the mail instead of the username specified in sasl_passwd. >> >> Any thoughts? > > 1. http://www.postfix.org/DEBUG_README.html#mail
I have starter to work through the debug recommendations above. The easy stuff that they start with doesn’t resolve the issue. I’ll work through the debug and tracing process and see what I come up with. > 2. You're mistaken. Feb 3 18:34:06 raspbx postfix/smtp[2912]: E7E6B20A9D: to=<u...@destination.com>, relay=<relayhost>[nnn.nnn.nnn.nnn]:587, delay=1.3, delays=0.05/0.12/0.89/0.22, dsn=5.0.0, status=bounced (host <relayhost>[nnn.nnn.nnn.nnn] said: 550-Verification failed for <r...@raspbx.sendinghost.com> 550-The mail server could not deliver mail to r...@raspbx.sendinghost.com. The account or domain may not exist, they may be blacklisted, or missing the proper dns entries. 550 Sender verify failed (in reply to RCPT TO command)) If I read it correctly, postfix is attempting to authenticate with <r...@raspbx.sendinghost.com> which is not the username specified in the sasl_passwd file. If I login with a user name other than root, which is also not the authenticating username, that login name shows instead of root. I’m not worried about the failure to send the bounce email back to me as I’m only trying to deal with outbound at the moment. > 3. You've also configured, but failed to mention: > > smtp_sender_dependent_authentication = yes > > http://www.postfix.org/SASL_README.html#client_sasl_sender Nope, not using sender dependent authentication Thanks for the pointers and your thoughts. Cheers, Jim --- Jim McCorison Orcas Island, WA