|
|
|
|
| postfix/cyrus-sasl: cannot send - PAM problem |
|
|
|
[Original]
[Print]
[Top]
|
Hi, the postfix/cyrus-sasl mailserver on SuSE 9.3 is properly receiving mails, which i can fetch with kmail client. i can also log in to the mailbox with squirrellmail and send mails with it. But i cannot log in with remote kmail to send mails with smtp through the mailbox. here is the error i receive:
/var/log/messages: saslauthd[15725]: ipc_init : listening on socket: /var/run/sasl2//mux postfix/smtpd[15823]: sql_select option missing postfix/smtpd[15823]: auxpropfunc error no mechanism available postfix/smtpd[15823]: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: sql PAM-warn[15726]: function=[pam_sm_authenticate] service=[smtp] terminal=[[unknown]] user=[zbyszek] ruser=[[unknown]] rhost=[[unknown]] saslauthd[15726]: DEBUG: auth_pam: pam_authenticate failed: Authentication failure saslauthd[15726]: do_auth : auth failure: [user=zbyszek] [service=smtp] [realm=] [mech=pam] [reason=PAM auth error]
with following settings:
/usr/lib/sasl2/smtpd.conf: pwcheck_method: saslauthd mech_list: plain login
/etc/sysconfig/saslauthd: SASLAUTHD_AUTHMECH=pam
/etc/imapd.conf: sasl_pwcheck_method: saslauthd /etc/init.d/saslauthd: /sbin/startproc $AUTHD_BIN -a $SASLAUTHD_AUTHMECH
/etc/pam.d/imap: #%PAM-1.0 auth include common-auth account include common-account password include common-password session include common-session
Kmail -] send -] security: encoding: no authentication: login albo plain i written passwd more than 10 times
I'd like to use berkeley db to store passwd and setup /etc/sasldb2 with `saslpasswd2 -c zbyszek` with the same password as with `passwd zbyszek`. I'd like to have the simplest method saslauthd from PAM without any sql and i don't know where does this auxprop comes from. Is it compiled into SuSEs smtp binary ?
regards zbyszek lisiecki -- http://zbyszek.evot.org
|
|
|
[Original]
[Print]
[Top]
|
|
|