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

Re: SASL auth failure dovecot/postfix



On Tue, Mar 11, 2014 at 07:36:55PM +0100, Tazman Deville wrote:
> On Tue, Mar 11, 2014 at 04:35:51PM +0000, Tom Furie wrote:
> > On Tue, Mar 11, 2014 at 04:22:45PM +0100, Tazman Deville wrote:
> > 
> > > 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.
> > 
>  > 
>  > Does /var/log/auth.log have any further details?
> 
>  Ah! Perhaps this will be useful.
>  I just logged in with mutt, received mail, and tried to send one
>  message, and get this from tail auth.log:
> 
>  Mar 11 19:33:32 myownsite postfix/smtpd[32642]: sql plugin Parse the
>  username taz@liberame.org
>  Mar 11 19:33:32 myownsite postfix/smtpd[32642]: sql plugin try and
>  connect to a host
>  Mar 11 19:33:32 myownsite postfix/smtpd[32642]: sql plugin trying to
>  open db 'mail' on host '127.0.0.1'
>  Mar 11 19:33:32 myownsite saslauthd[1850]: PAM unable to
>  dlopen(pam_mysql.so): /lib/security/pam_mysql.so: symbol
>  make_scrambled_password, version libmysqlclient_18 not defined in file
>  libmysqlclient.so.18 with link time reference
>  Mar 11 19:33:32 myownsite saslauthd[1850]: PAM adding faulty module:
>  pam_mysql.so
>  Mar 11 19:33:32 myownsite saslauthd[1850]: DEBUG: auth_pam:
>  pam_authenticate failed: Module is unknown
>  Mar 11 19:33:32 myownsite saslauthd[1850]: do_auth         : auth
>  failure: [user=taz@liberame.org] [service=smtp] [realm=liberame.org]
>  [mech=pam] [reason=PAM auth error]
>  Mar 11 19:33:37 myownsite mutt: DIGEST-MD5 common mech free
>  Mar 11 19:33:40 myownsite sudo:   tazman : TTY=pts/0 ; PWD=/var/log ;
>  USER=root ; COMMAND=/usr/bin/tail auth.log
>  Mar 11 19:33:40 myownsite sudo: pam_unix(sudo:session): session opened
>  for user root by tazman(uid=0)
> 

Well, with this pam error, I found an Arch thread here:
https://bbs.archlinux.org/viewtopic.php?id=177758
so it looks like it is a known problem,
but I have not yet found a solution (short of dumping mariadb and moving
back to mysql, which I'd rather not, if I can avoid it).

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


Reply to: