[Postfixbuch-users] smtp_auth via mysql

Thomas Kowtsch mailserver at thomas-web.de
Do Jan 27 13:57:17 CET 2005


Hallo alle Zusammen,

ich stehe vor folgendem Problem: möchte auf meiner Suse9.1-Maschine eine
SMTP-Authentifizierung gegen die ohnehin vorhandene MySQL-DB (für
virtuelle Domains+Courier) einsetzen.

Die SASL-Anbindung funktioniert jetzt - im Prinzip - auch, allerdings habe
ich im Logfile immer so nette Einträge:

postfix/smtpd[6095]: warning: myhostname.tld[myip]: SASL PLAIN
authentication failed

In /etc/postfix/sasl/smtpd.conf steht:
pwcheck_method: auxprop
auxprop_plugin: mysql
mech_list: plain login
mysql_hostnames: localhost
mysql_user: postfixserver
mysql_passwd: lstnmf.lstnmf
mysql_database: mailbase
mysql_select: select clear from mailnutzer where email='%u@%r'

Dito in /usr/lib/sasl2/smtpd.conf
Ob der MySQL-Select-String richtig ist weiß ich nicht - bei der MySQL
kommt nichts an.

postconf -n sagt:
smtpd_sasl_application_name = smtpd
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous, noplaintext
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_use_tls = yes

Hat irgendwer eine Idee, wo mein Fehler liegt oder wie ich zumindest ein
paar mehr Log-Infos bekommen kann? Eine Zeile wie "log_level: 7" in den
smtpd.conf-Dateien zeigt irgendwie keinen wirklichen Erfolg...

Danke & viele Grüße,

Thomas



Mehr Informationen über die Mailingliste Postfixbuch-users