View Single Post
  #2  
Old 20th February 2009, 19:55
alte94 alte94 is offline
Junior Member
 
Join Date: Feb 2009
Location: Paris - France
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default postfix sasl problem (part 2)

I post saslfinger results in order to help diag.
Curiously, when using squirrelmail, I'm able to send and receive mail to and from internal and external domains.

Code:
saslfinger - postfix Cyrus sasl configuration Fri Feb 20 18:44:10 CET 2009
version: 1.0.4
mode: server-side SMTP AUTH

-- basics --
Postfix: 2.5.5
System: Debian GNU/Linux 5.0 \n \l

-- smtpd is linked to --
        libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0xb7cd8000)

-- 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 =
smtpd_sasl_path = /etc/postfix/sasl
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_tls_loglevel = 1
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes


-- listing of /usr/lib/sasl2 --
total 792
drwxr-xr-x  2 root root  4096 Feb 18 13:32 .
drwxr-xr-x 54 root root 20480 Feb 20 16:33 ..
-rw-r--r--  1 root root 13468 Sep  1 19:10 libanonymous.a
-rw-r--r--  1 root root   855 Sep  1 19:09 libanonymous.la
-rw-r--r--  1 root root 13016 Sep  1 19:10 libanonymous.so
-rw-r--r--  1 root root 13016 Sep  1 19:10 libanonymous.so.2
-rw-r--r--  1 root root 13016 Sep  1 19:10 libanonymous.so.2.0.22
-rw-r--r--  1 root root 15810 Sep  1 19:10 libcrammd5.a
-rw-r--r--  1 root root   841 Sep  1 19:09 libcrammd5.la
-rw-r--r--  1 root root 15352 Sep  1 19:10 libcrammd5.so
-rw-r--r--  1 root root 15352 Sep  1 19:10 libcrammd5.so.2
-rw-r--r--  1 root root 15352 Sep  1 19:10 libcrammd5.so.2.0.22
-rw-r--r--  1 root root 46412 Sep  1 19:10 libdigestmd5.a
-rw-r--r--  1 root root   864 Sep  1 19:09 libdigestmd5.la
-rw-r--r--  1 root root 43500 Sep  1 19:10 libdigestmd5.so
-rw-r--r--  1 root root 43500 Sep  1 19:10 libdigestmd5.so.2
-rw-r--r--  1 root root 43500 Sep  1 19:10 libdigestmd5.so.2.0.22
-rw-r--r--  1 root root 13646 Sep  1 19:10 liblogin.a
-rw-r--r--  1 root root   835 Sep  1 19:09 liblogin.la
-rw-r--r--  1 root root 13460 Sep  1 19:10 liblogin.so
-rw-r--r--  1 root root 13460 Sep  1 19:10 liblogin.so.2
-rw-r--r--  1 root root 13460 Sep  1 19:10 liblogin.so.2.0.22
-rw-r--r--  1 root root 29068 Sep  1 19:10 libntlm.a
-rw-r--r--  1 root root   829 Sep  1 19:09 libntlm.la
-rw-r--r--  1 root root 28436 Sep  1 19:10 libntlm.so
-rw-r--r--  1 root root 28436 Sep  1 19:10 libntlm.so.2
-rw-r--r--  1 root root 28436 Sep  1 19:10 libntlm.so.2.0.22
-rw-r--r--  1 root root 13966 Sep  1 19:10 libplain.a
-rw-r--r--  1 root root   835 Sep  1 19:09 libplain.la
-rw-r--r--  1 root root 14036 Sep  1 19:10 libplain.so
-rw-r--r--  1 root root 14036 Sep  1 19:10 libplain.so.2
-rw-r--r--  1 root root 14036 Sep  1 19:10 libplain.so.2.0.22
-rw-r--r--  1 root root 21702 Sep  1 19:10 libsasldb.a
-rw-r--r--  1 root root   866 Sep  1 19:09 libsasldb.la
-rw-r--r--  1 root root 18080 Sep  1 19:10 libsasldb.so
-rw-r--r--  1 root root 18080 Sep  1 19:10 libsasldb.so.2
-rw-r--r--  1 root root 18080 Sep  1 19:10 libsasldb.so.2.0.22
-rw-r--r--  1 root root 23796 Sep  1 19:10 libsql.a
-rw-r--r--  1 root root   964 Sep  1 19:09 libsql.la
-rw-r--r--  1 root root 23312 Sep  1 19:10 libsql.so
-rw-r--r--  1 root root 23312 Sep  1 19:10 libsql.so.2
-rw-r--r--  1 root root 23312 Sep  1 19:10 libsql.so.2.0.22
-rw-rw----  1 root root   236 Feb 18 13:32 smtpd.conf

-- listing of /etc/postfix/sasl --
total 12
drwxr-xr-x 2 root root 4096 Feb  3 16:52 .
drwxr-xr-x 3 root root 4096 Feb 20 16:45 ..
-rw-r----- 1 root root  236 Feb  3 16:52 smtpd.conf




-- content of /usr/lib/sasl2/smtpd.conf --
pwcheck_method: saslauthd
mech_list: plain login
allow_plaintext: true
auxprop_plugin: mysql
sql_hostnames: 127.0.0.1
sql_user: --- replaced ---
sql_passwd: --- replaced ---
sql_database: mail
sql_select: select password from users where email = '%u'


-- content of /etc/postfix/sasl/smtpd.conf --
pwcheck_method: saslauthd
mech_list: plain login
allow_plaintext: true
auxprop_plugin: mysql
sql_hostnames: 127.0.0.1
sql_user: --- replaced ---
sql_passwd: --- replaced ---
sql_database: mail
sql_select: select password from users where email = '%u'


-- content of /etc/postfix/sasl/smtpd.conf --
pwcheck_method: saslauthd
mech_list: plain login
allow_plaintext: true
auxprop_plugin: mysql
sql_hostnames: 127.0.0.1
sql_user: --- replaced ---
sql_passwd: --- replaced ---
sql_database: mail
sql_select: select password from users where email = '%u'



-- active services in /etc/postfix/master.cf --
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
smtp      inet  n       -       -       -       -       smtpd
pickup    fifo  n       -       -       60      1       pickup
cleanup   unix  n       -       -       -       0       cleanup
qmgr      fifo  n       -       n       300     1       qmgr
tlsmgr    unix  -       -       -       1000?   1       tlsmgr
rewrite   unix  -       -       -       -       -       trivial-rewrite
bounce    unix  -       -       -       -       0       bounce
defer     unix  -       -       -       -       0       bounce
trace     unix  -       -       -       -       0       bounce
verify    unix  -       -       -       -       1       verify
flush     unix  n       -       -       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
smtp      unix  -       -       -       -       -       smtp
relay     unix  -       -       -       -       -       smtp
        -o smtp_fallback_relay=
showq     unix  n       -       -       -       -       showq
error     unix  -       -       -       -       -       error
retry     unix  -       -       -       -       -       error
discard   unix  -       -       -       -       -       discard
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       -       -       -       lmtp
anvil     unix  -       -       -       -       1       anvil
scache    unix  -       -       -       -       1       scache
maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
uucp      unix  -       n       n       -       -       pipe
  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail    unix  -       n       n       -       -       pipe
  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp     unix  -       n       n       -       -       pipe
  flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix  -       n       n       -       2       pipe
  flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman   unix  -       n       n       -       -       pipe
  flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
  ${nexthop} ${user}

amavis unix - - - - 2 smtp
        -o smtp_data_done_timeout=1200
        -o smtp_send_xforward_command=yes

127.0.0.1:10025 inet n - - - - smtpd
        -o content_filter=
        -o local_recipient_maps=
        -o relay_recipient_maps=
        -o smtpd_restriction_classes=
        -o smtpd_client_restrictions=
        -o smtpd_helo_restrictions=
        -o smtpd_sender_restrictions=
        -o smtpd_recipient_restrictions=permit_mynetworks,reject
        -o mynetworks=127.0.0.0/8
        -o strict_rfc821_envelopes=yes
        -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
        -o smtpd_bind_address=127.0.0.1

-- mechanisms on localhost --
250-AUTH NTLM CRAM-MD5 DIGEST-MD5 LOGIN PLAIN
250-AUTH=NTLM CRAM-MD5 DIGEST-MD5 LOGIN PLAIN


-- end of saslfinger output --
Reply With Quote