[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SASL auth failure dovecot/postfix



On Tue, Mar 11, 2014 at 03:13:25PM +0000, Tom Furie wrote:
> On Tue, Mar 11, 2014 at 02:49:34PM +0100, Tazman Deville wrote:
> > On Tue, Mar 11, 2014 at 02:41:02PM +0100, Tazman Deville wrote:
> 
> > > both servers show similar in mail.warn:
> > > Mar 11 13:52:16 myownsite postfix/smtpd[16685]: warning: SASL
> > > authentication failure: Password verification failed
> > > Mar 11 13:52:16 myownsite postfix/smtpd[16685]: warning:
> > > myownsite.me[178.238.226.185]: SASL PLAIN authentication failed:
> > > authentication failure
> 
> > Perhaps this is relevant:
> > telnet localhost 25
> > Trying 127.0.0.1...
> > Connected to localhost.localdomain.
> > Escape character is '^]'.
> > 220 myownsite.me ESMTP Postfix (Debian/GNU)
> > ehlo localhost
> > 250-myownsite.me
> > 250-PIPELINING
> > 250-SIZE 30720000
> > 250-VRFY
> > 250-ETRN
> > 250-STARTTLS
> > 250-AUTH PLAIN LOGIN
> > 250-AUTH=PLAIN LOGIN
> > 250-ENHANCEDSTATUSCODES
> > 250-8BITMIME
> > 250 DSN
> > quit
> > 221 2.0.0 Bye
> > 
> > looks okay there, yes?
> 
> That looks okay in as much as you are able to connect to the SMTP
> server, however you haven't tried to authenticate with it which is where
> you are having problems. You were having trouble connecting to dovecot
> on the evening of the 10th due to the database being overloaded, but
> that problem resolved itself when the server load came down to
> manageable levels, and you have said you are having no problem receiving
> mail. Dovecot is not part of the equation.
> 
> The log segment above indicates a failure to authenticate with the SMTP
> server. What backend are you using for that authentication, the same
> mySQL database? Are both servers using the same backend?

Both servers are nearly identically configured (just different domains
and users).
One has been running Wheezy several months longer, but they're both on
wheezy now, anyway.
I essentially set them up, initially, when running squeeze, according to
the instructions here:
https://library.linode.com/email/postfix/dovecot-mysql-debian-6-squeeze
although 1) they are not on linode (one is on contabo in germany, the
other is here in my office), and 2), they were both updated to Wheezy
since then (and configs for both dovecot and postfix had to be altered
at that time, but that was months ago for both, and both were working
until this morning).
They both use mysql (well, mariadb) auth for both dovecot and postfix.
I have confirmed that I can connect to the DB on either server with the
mail admin account configured in postfix.
Yet, I can not send mail.
I'm stumped.
They were working yesterday during the day. I ran aptitude update, then
safe-upgrade later in the evening.
Then today, they can not send mail.
As far as I recall, postfix was not updated yesterday.
Nor was mariadb, dovecot, or anything else I can imagine is significant
here. Aside from mail, the servers have slightly different software
installed. One received 1 update, the other 3.
I do not believe they were the same at all (as in the 1 update one the
first server was not the same as any of the 3 on the other).
Still, they're having apparently identical problems now, and the only
thing that has changed on either since they were working was running the
aptitude updates.
All the logs seem to be telling me is that SASL auth is failing,
which I know. They do not tell me why or wherein lies the failure.

taz
:wq
-- 
http://taz.liberame.org


Reply to: