Ich kämpfe mich gerade mit SASLAUTHD usw. durch aber ohne Erfolg.
Mein Problem ist dieses. Die Imap Benutzer sollten E-Mail einliefern könnnen. Die Benutzerdatenbank liegt in einer MySQL.
Laut Postfix Buch ist dieses ja mit auxprop und saslauthd möglich oder.??? Habe beide Varianten schon getestet aber ohne Erfolg.
Hier mein Versuch
Auszug aus meiner main.cf
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtp_sasl_auth_enable = yes^M
smtpd_sasl_auth_enable = yes ^M
smtpd_sasl_security_options = noanonymous,
broken_sasl_auth_clients = yes
smtp.conf
pwcheck_method: saslauthd
log_level: 3
mech_list: PLAIN LOGIN DIGEST-MD5
#
auxprop_plugin: sql
#
sql_engine: mysql
sql_hostnames: localhost
sql_usessl: no
sql_user: root
sql_passwd:
sql_database: datenbank
sql_select: select value from objectproperty where objectid=(select objectid from objectproperty where value='%s' limit 1) and propname=
'loginname';
Mein Problem ist auch ob der select Befehl überhaupt stimmt. Aber laut Log komme ich dort ja gar nicht hin. siehe unten.
saslauth und postfix läuft.
hier die. mail.log
Apr 9 00:23:40 SVCTS-005 postfix/smtpd[14252]: warning: SASL per-process initialization failed: generic failure
Apr 9 00:23:40 SVCTS-005 postfix/smtpd[14252]: fatal: SASL per-process initialization failed
Apr 9 00:23:41 SVCTS-005 postfix/master[14208]: warning: process /usr/lib/postfix/smtpd pid 14252 exit status 1
Apr 9 00:23:41 SVCTS-005 postfix/master[14208]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Apr 9 00:24:41 SVCTS-005 postfix/smtpd[14303]: warning: SASL per-process initialization failed: generic failure
Apr 9 00:24:41 SVCTS-005 postfix/smtpd[14303]: fatal: SASL per-process initialization failed
Apr 9 00:24:42 SVCTS-005 postfix/master[14208]: warning: process /usr/lib/postfix/smtpd pid 14303 exit status 1
Apr 9 00:24:42 SVCTS-005 postfix/master[14208]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Apr 9 00:25:42 SVCTS-005 postfix/smtpd[14337]: warning: SASL per-process initialization failed: generic failure
Apr 9 00:25:42 SVCTS-005 postfix/smtpd[14337]: fatal: SASL per-process initialization failed
mein System: SLES 11, Postfix, MYSQL,
Danke für jede Hilfe , Tips usw. Ich weiß nicht mehr wo ich noch suchen soll.
Mein Problem ist dieses. Die Imap Benutzer sollten E-Mail einliefern könnnen. Die Benutzerdatenbank liegt in einer MySQL.
Laut Postfix Buch ist dieses ja mit auxprop und saslauthd möglich oder.??? Habe beide Varianten schon getestet aber ohne Erfolg.
Hier mein Versuch
Auszug aus meiner main.cf
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtp_sasl_auth_enable = yes^M
smtpd_sasl_auth_enable = yes ^M
smtpd_sasl_security_options = noanonymous,
broken_sasl_auth_clients = yes
smtp.conf
pwcheck_method: saslauthd
log_level: 3
mech_list: PLAIN LOGIN DIGEST-MD5
#
auxprop_plugin: sql
#
sql_engine: mysql
sql_hostnames: localhost
sql_usessl: no
sql_user: root
sql_passwd:
sql_database: datenbank
sql_select: select value from objectproperty where objectid=(select objectid from objectproperty where value='%s' limit 1) and propname=
'loginname';
Mein Problem ist auch ob der select Befehl überhaupt stimmt. Aber laut Log komme ich dort ja gar nicht hin. siehe unten.
saslauth und postfix läuft.
hier die. mail.log
Apr 9 00:23:40 SVCTS-005 postfix/smtpd[14252]: warning: SASL per-process initialization failed: generic failure
Apr 9 00:23:40 SVCTS-005 postfix/smtpd[14252]: fatal: SASL per-process initialization failed
Apr 9 00:23:41 SVCTS-005 postfix/master[14208]: warning: process /usr/lib/postfix/smtpd pid 14252 exit status 1
Apr 9 00:23:41 SVCTS-005 postfix/master[14208]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Apr 9 00:24:41 SVCTS-005 postfix/smtpd[14303]: warning: SASL per-process initialization failed: generic failure
Apr 9 00:24:41 SVCTS-005 postfix/smtpd[14303]: fatal: SASL per-process initialization failed
Apr 9 00:24:42 SVCTS-005 postfix/master[14208]: warning: process /usr/lib/postfix/smtpd pid 14303 exit status 1
Apr 9 00:24:42 SVCTS-005 postfix/master[14208]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Apr 9 00:25:42 SVCTS-005 postfix/smtpd[14337]: warning: SASL per-process initialization failed: generic failure
Apr 9 00:25:42 SVCTS-005 postfix/smtpd[14337]: fatal: SASL per-process initialization failed
mein System: SLES 11, Postfix, MYSQL,
Danke für jede Hilfe , Tips usw. Ich weiß nicht mehr wo ich noch suchen soll.