[Postfixbuch-users] bekomme kein smtp-auth über mysql db hin

Patrick Ben Koetter p at state-of-mind.de
Mi Dez 6 14:44:57 CET 2006


* Sandy Drobic <postfixbuch-users at japantest.homelinux.com>:
> Patrick Ben Koetter wrote:
> 
> > -- content of /usr/lib/sasl2/smtpd.conf --
> > pwcheck_method: auxprop
> > mech_list: plain login
> > auxprop_plugin: sql
> > sql_engine: mysql
> > sql_hostnames: localhost
> > sql_database: mail
> > sql_user: --- replaced ---
> > sql_passwd: --- replaced ---
> > sql_select: SELECT passwd FROM users WHERE mailad = '%u'
> 
> Wenn ich mich recht erinnere, hatte er ein Realm angegeben in Postfix.

Jo. Zu dem kommen wir bestimmt noch. Im Moment will ich die Strecke von hinten
aufrollen, damit wir wissen wo es zum ersten Mal schief geht.

p at rick



> 
> /etc/postfix/passwd_mysql.cf:
> user=mysql-user
> password=mysql-password
> dbname=mail
> hosts=localhost
> query = SELECT passwd from users where mailad = '%s'
> 
> Was ergibt:
> postmap -q user at example.com mysql:/etc/postfix/passwd_mysql.cf
> 
> 
> Sandy
> -- 
> Antworten bitte nur in die Mailingliste!
> PMs bitte an: news-reply2 (@) japantest (.) homelinux (.) com
> -- 
> _______________________________________________
> Postfixbuch-users mailingliste
> Heinlein Professional Linux Support GmbH
> 
> Postfixbuch-users at listi.jpberlin.de
> http://listi.jpberlin.de/mailman/listinfo/postfixbuch-users

-- 
Das Postfix-Buch
<http://www.postfix-buch.com>
saslfinger (debugging SMTP AUTH):
<http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>



Mehr Informationen über die Mailingliste Postfixbuch-users