roland_ke n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 28 Sep 2003 Posts: 21 Location: Vienna / Austria
|
Posted: Sun Feb 01, 2004 9:47 pm Post subject: POSTFIX - SASLAUTHD - PAM - MYSQL (- CYRUS) |
|
|
i use a postfix 2.0.16-r1.
imap-server is a cyrus, up and running...
i use saslauthd for authentication with -a pam.
in imapd.conf i use
Code: |
sasl_pwcheck_method: saslauthd
|
/etc/pam.d/imap:
Code: | auth sufficient pam_mysql.so user=XX passwd=XX host=XX db=XX table=XX usercolumn=XX passwdcolumn=XX crypt=1 logtable=log logmsgcolumn=msg logusercolumn=user loghostcolumn=host logpidcolumn=pid logtimecolumn=time
account required pam_mysql.so user=XX passwd=XX host=XX db=XX table=XX usercolumn=XX passwdcolumn=XX crypt=1 logtable=log logmsgcolumn=msg logusercolumn=user loghostcolumn=host logpidcolumn=pid logtimecolumn=time
|
is the same as /etc/pam.d/smtp
and authentification to the imap works well, but authentification to the smtp looks like it's falling back to sasldb.
in /etc/postfix/main.cf i use:
Code: |
smtpd_sasl2_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
smtpd_sasl_security_options = noanonymous, noplaintext
smtpd_sasl_local_domain = XX
broken_sasl_auth_clients = yes
|
and
/etc/sasl2/smtpd.conf
Code: |
pwcheck_method: saslauthd
|
is there something wron with this configuration? as said, saslauthd works fine with cyrus, but not with postfix...
greetings,
roland _________________ don't blame me, it's a hardware problem! |
|