Issac Kelly a écrit :
> Here is my saslfinger output
> 
> #saslfinger -c
> saslfinger - postfix Cyrus sasl configuration Tue Oct 14 06:22:13 PDT 2008
> version: 1.0.2
> mode: client-side SMTP AUTH
> 
> -- basics --
> Postfix: 2.5.1
> System: Ubuntu 8.04 \n \l
> 
> -- smtp is linked to --
>    libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x00843000)
> 
> -- active SMTP AUTH and TLS parameters for smtp --
> smtp_tls_note_starttls_offer = yes
> 
> 
> -- listing of /usr/lib/sasl2 --
> total 796
> drwxr-xr-x  2 root root  4096 2008-10-14 06:06 .
> drwxr-xr-x 55 root root 12288 2008-05-04 09:48 ..
> -rw-r--r--  1 root root 13568 2008-04-09 14:50 libanonymous.a
> -rw-r--r--  1 root root   862 2008-04-09 14:49 libanonymous.la
> -rw-r--r--  1 root root 12984 2008-04-09 14:50 libanonymous.so
> -rw-r--r--  1 root root 12984 2008-04-09 14:50 libanonymous.so.2
> -rw-r--r--  1 root root 12984 2008-04-09 14:50 libanonymous.so.2.0.22
> -rw-r--r--  1 root root 15834 2008-04-09 14:50 libcrammd5.a
> -rw-r--r--  1 root root   848 2008-04-09 14:49 libcrammd5.la
> -rw-r--r--  1 root root 15320 2008-04-09 14:50 libcrammd5.so
> -rw-r--r--  1 root root 15320 2008-04-09 14:50 libcrammd5.so.2
> -rw-r--r--  1 root root 15320 2008-04-09 14:50 libcrammd5.so.2.0.22
> -rw-r--r--  1 root root 46332 2008-04-09 14:50 libdigestmd5.a
> -rw-r--r--  1 root root   871 2008-04-09 14:49 libdigestmd5.la
> -rw-r--r--  1 root root 43020 2008-04-09 14:50 libdigestmd5.so
> -rw-r--r--  1 root root 43020 2008-04-09 14:50 libdigestmd5.so.2
> -rw-r--r--  1 root root 43020 2008-04-09 14:50 libdigestmd5.so.2.0.22
> -rw-r--r--  1 root root 13574 2008-04-09 14:50 liblogin.a
> -rw-r--r--  1 root root   842 2008-04-09 14:49 liblogin.la
> -rw-r--r--  1 root root 13268 2008-04-09 14:50 liblogin.so
> -rw-r--r--  1 root root 13268 2008-04-09 14:50 liblogin.so.2
> -rw-r--r--  1 root root 13268 2008-04-09 14:50 liblogin.so.2.0.22
> -rw-r--r--  1 root root 30016 2008-04-09 14:50 libntlm.a
> -rw-r--r--  1 root root   836 2008-04-09 14:49 libntlm.la
> -rw-r--r--  1 root root 29236 2008-04-09 14:50 libntlm.so
> -rw-r--r--  1 root root 29236 2008-04-09 14:50 libntlm.so.2
> -rw-r--r--  1 root root 29236 2008-04-09 14:50 libntlm.so.2.0.22
> -rw-r--r--  1 root root 13798 2008-04-09 14:50 libplain.a
> -rw-r--r--  1 root root   842 2008-04-09 14:49 libplain.la
> -rw-r--r--  1 root root 13396 2008-04-09 14:50 libplain.so
> -rw-r--r--  1 root root 13396 2008-04-09 14:50 libplain.so.2
> -rw-r--r--  1 root root 13396 2008-04-09 14:50 libplain.so.2.0.22
> -rw-r--r--  1 root root 22126 2008-04-09 14:50 libsasldb.a
> -rw-r--r--  1 root root   873 2008-04-09 14:49 libsasldb.la
> -rw-r--r--  1 root root 18080 2008-04-09 14:50 libsasldb.so
> -rw-r--r--  1 root root 18080 2008-04-09 14:50 libsasldb.so.2
> -rw-r--r--  1 root root 18080 2008-04-09 14:50 libsasldb.so.2.0.22
> -rw-r--r--  1 root root 23696 2008-04-09 14:50 libsql.a
> -rw-r--r--  1 root root   971 2008-04-09 14:49 libsql.la
> -rw-r--r--  1 root root 23140 2008-04-09 14:50 libsql.so
> -rw-r--r--  1 root root 23140 2008-04-09 14:50 libsql.so.2
> -rw-r--r--  1 root root 23140 2008-04-09 14:50 libsql.so.2.0.22
> -rw-r--r--  1 root root   258 2008-10-14 06:07 smtpd.conf
> 
> 
> Cannot find the smtp_sasl_password_maps parameter in main.cf.
> Client-side SMTP AUTH cannot work without this parameter!
> 
> # saslfinger -s
> #-- basics --
> Postfix: 2.5.1
> System: Ubuntu 8.04 \n \l
> 
> -- smtpd is linked to --
>        libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x005fc000)
> 
> -- active SMTP AUTH and TLS parameters for smtpd --
> broken_sasl_auth_clients = yes
> smtpd_sasl_auth_enable = yes
> smtpd_sasl_authenticated_header = yes
> smtpd_sasl_local_domain =

This the default, so remove it.


> smtpd_sasl_path = /etc/postfix/sasl:/usr/lib/sasl2

This is your problem. The default is "smtpd" which is ok. remove the line.

[snip]
> 
> 
> 
> -- content of /usr/lib/sasl2/smtpd.conf --

debian (thus ubuntu) uses the other file (below).

> 
> -- content of /etc/postfix/sasl/smtpd.conf --
> pwcheck_method: auxprop
> auxprop_plugin: sql
> mech_list: plain login cram-md5 digest-md5
> sql_engine: mysql
> sql_hostnames: localhost
> sql_user: --- replaced ---
> sql_passwd: --- replaced ---
> sql_database: maildb
> sql_select: select clear from users where id='[EMAIL PROTECTED]' and enabled 
> = 1

looks ok. you can add
log_level: 7
if you want more logs (they should appear in your /var/log/auth.log)

> [snip] 
> 

Reply via email to