View Single Post
  #1  
Old 23rd March 2011, 05:53
carlos1014 carlos1014 is offline
Junior Member
 
Join Date: Apr 2009
Location: U.S.
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Question SMTP SASL authentication

Hello,

I'm running postfix on FC14. Followed Falko's brilliant-as-always guide to do this. I setup 3 virtual users. I'll call them a@domain, b@domain, c@domain. I inserted them into the user table in that order, and used ENCRYPT command on the password field for all.

I am using my cellphone to connect to the accounts. My phone managed to connect to both incoming (IMAP) and outgoing (SMTP, duh!) servers with a@domain's credentials.

However, for b and c, it only authenticated the incoming, but responds saying User Authentication failed for outgoing. If I put a's credentials for outgoing, it works.

This is also true in Thunderbird. I have to use a's credentials to login to SMTP.
Maillog shows the following:

Using b
Code:
Mar 22 23:44:21 server postfix/smtpd[6560]: warning: unknown[192.168.1.1]: SASL LOGIN authentication failed: authentication failure
Using a
Code:
Mar 22 23:48:56 server postfix/qmgr[4119]: 2F8522C1F6F: from=<b@domain>, size=1113, nrcpt=1 (queue active)
Mar 22 23:48:56 server postfix/smtpd[6584]: disconnect from unknown[127.0.0.1]
Mar 22 23:48:56 server amavis[5490]: (05490-04) Passed CLEAN, MYNETS LOCAL [192.168.1.1] [192.168.1.1] <b@domain> -> <test@gmail.com>, Message-ID: <4D896D9A.9050503@domain>, mail_id: fPRia-+vwGsw, Hits: -1, size: 677, queued_as: 2F8522C1F6F, 6504 ms
Mar 22 23:48:56 server postfix/smtp[6576]: A58952C03D6: to=<test@gmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=6.6, delays=0.11/0.02/0.01/6.5, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=05490-04, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 2F8522C1F6F)
Since a's credentials work, it would only follow that b and c should work, too; I can't see where there would be a config issue... what could be the problem?
Reply With Quote
Sponsored Links