From: Андрей (no email)
Date: Wed Jul 02 2008 - 04:25:53 EDT
On Wednesday 02 July 2008 12:49:51 Patrick Ben Koetter wrote:
> * Андрей <>:
> > I'm testing postfix this way:
> >
> > telnet hosting.vpcit.ru 25
> > Trying 91.192.168.241...
> > Connected to hosting.vpcit.ru.
> > Escape character is '^]'.
> > 220 Welcome to ESMTP llc. Gercon
> > helo andreyv
> > 250 mail.1vp.ru
> > auth plain
> > 334
> > AGR1a2VudWtlbUB2cGNpdC5ydQBzdGFydGVy
> > 535 5.7.0 Error: authentication failed: generic failure
> >
> > In syslog I see:
> > Jul 2 12:18:38 hosting postfix/smtpd[31141]: warning: SASL
> > authentication failure: cannot connect to saslauthd server: No such file
> > or directory Jul 2 12:18:38 hosting postfix/smtpd[31141]: warning: SASL
> > authentication failure: Password verification failed
> > Jul 2 12:18:38 hosting postfix/smtpd[31141]: warning:
> > unknown[10.10.80.20]: SASL plain authentication failed: generic failure
> >
> > Where is my mistake?
>
> Please show output from "saslfinger -s".
>
> p at rick
hosting:/# saslfinger -s
saslfinger - postfix Cyrus sasl configuration Wed Jul 2 14:26:27 YEKST 2008
version: 1.0.2
mode: server-side SMTP AUTH
-- basics --
Postfix: 2.3.8
System: Debian GNU/Linux 4.0 \n \l
-- smtpd is linked to --
libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x00002b68d3aa3000)
-- 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_security_options = noanonymous
smtpd_sasl_type = cyrus
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_use_tls = yes
-- listing of /usr/lib64/sasl2 --
total 808
drwxr-xr-x 2 root root 4096 2008-06-11 16:10 .
drwxr-xr-x 49 root root 12288 2008-06-19 11:31 ..
-rw-r--r-- 1 root root 18868 2006-12-14 02:52 libanonymous.a
-rw-r--r-- 1 root root 855 2006-12-14 02:52 libanonymous.la
-rw-r--r-- 1 root root 15792 2006-12-14 02:52 libanonymous.so
-rw-r--r-- 1 root root 15792 2006-12-14 02:52 libanonymous.so.2
-rw-r--r-- 1 root root 15792 2006-12-14 02:52 libanonymous.so.2.0.22
-rw-r--r-- 1 root root 21754 2006-12-14 02:52 libcrammd5.a
-rw-r--r-- 1 root root 841 2006-12-14 02:52 libcrammd5.la
-rw-r--r-- 1 root root 19184 2006-12-14 02:52 libcrammd5.so
-rw-r--r-- 1 root root 19184 2006-12-14 02:52 libcrammd5.so.2
-rw-r--r-- 1 root root 19184 2006-12-14 02:52 libcrammd5.so.2.0.22
-rw-r--r-- 1 root root 60216 2006-12-14 02:52 libdigestmd5.a
-rw-r--r-- 1 root root 864 2006-12-14 02:52 libdigestmd5.la
-rw-r--r-- 1 root root 48504 2006-12-14 02:52 libdigestmd5.so
-rw-r--r-- 1 root root 48504 2006-12-14 02:52 libdigestmd5.so.2
-rw-r--r-- 1 root root 48504 2006-12-14 02:52 libdigestmd5.so.2.0.22
-rw-r--r-- 1 root root 19094 2006-12-14 02:52 liblogin.a
-rw-r--r-- 1 root root 835 2006-12-14 02:52 liblogin.la
-rw-r--r-- 1 root root 16424 2006-12-14 02:52 liblogin.so
-rw-r--r-- 1 root root 16424 2006-12-14 02:52 liblogin.so.2
-rw-r--r-- 1 root root 16424 2006-12-14 02:52 liblogin.so.2.0.22
-rw-r--r-- 1 root root 38700 2006-12-14 02:52 libntlm.a
-rw-r--r-- 1 root root 829 2006-12-14 02:52 libntlm.la
-rw-r--r-- 1 root root 32520 2006-12-14 02:52 libntlm.so
-rw-r--r-- 1 root root 32520 2006-12-14 02:52 libntlm.so.2
-rw-r--r-- 1 root root 32520 2006-12-14 02:52 libntlm.so.2.0.22
-rw-r--r-- 1 root root 19134 2006-12-14 02:52 libplain.a
-rw-r--r-- 1 root root 835 2006-12-14 02:52 libplain.la
-rw-r--r-- 1 root root 16392 2006-12-14 02:52 libplain.so
-rw-r--r-- 1 root root 16392 2006-12-14 02:52 libplain.so.2
-rw-r--r-- 1 root root 16392 2006-12-14 02:52 libplain.so.2.0.22
-rw-r--r-- 1 root root 29100 2006-12-14 02:52 libsasldb.a
-rw-r--r-- 1 root root 856 2006-12-14 02:52 libsasldb.la
-rw-r--r-- 1 root root 21456 2006-12-14 02:52 libsasldb.so
-rw-r--r-- 1 root root 21456 2006-12-14 02:52 libsasldb.so.2
-rw-r--r-- 1 root root 21456 2006-12-14 02:52 libsasldb.so.2.0.22
-rw-r--r-- 1 root root 90 2008-06-11 16:10 smtpd.conf
-- listing of /usr/lib/sasl2 --
total 808
drwxr-xr-x 2 root root 4096 2008-06-11 16:10 .
drwxr-xr-x 49 root root 12288 2008-06-19 11:31 ..
-rw-r--r-- 1 root root 18868 2006-12-14 02:52 libanonymous.a
-rw-r--r-- 1 root root 855 2006-12-14 02:52 libanonymous.la
-rw-r--r-- 1 root root 15792 2006-12-14 02:52 libanonymous.so
-rw-r--r-- 1 root root 15792 2006-12-14 02:52 libanonymous.so.2
-rw-r--r-- 1 root root 15792 2006-12-14 02:52 libanonymous.so.2.0.22
-rw-r--r-- 1 root root 21754 2006-12-14 02:52 libcrammd5.a
-rw-r--r-- 1 root root 841 2006-12-14 02:52 libcrammd5.la
-rw-r--r-- 1 root root 19184 2006-12-14 02:52 libcrammd5.so
-rw-r--r-- 1 root root 19184 2006-12-14 02:52 libcrammd5.so.2
-rw-r--r-- 1 root root 19184 2006-12-14 02:52 libcrammd5.so.2.0.22
-rw-r--r-- 1 root root 60216 2006-12-14 02:52 libdigestmd5.a
-rw-r--r-- 1 root root 864 2006-12-14 02:52 libdigestmd5.la
-rw-r--r-- 1 root root 48504 2006-12-14 02:52 libdigestmd5.so
-rw-r--r-- 1 root root 48504 2006-12-14 02:52 libdigestmd5.so.2
-rw-r--r-- 1 root root 48504 2006-12-14 02:52 libdigestmd5.so.2.0.22
-rw-r--r-- 1 root root 19094 2006-12-14 02:52 liblogin.a
-rw-r--r-- 1 root root 835 2006-12-14 02:52 liblogin.la
-rw-r--r-- 1 root root 16424 2006-12-14 02:52 liblogin.so
-rw-r--r-- 1 root root 16424 2006-12-14 02:52 liblogin.so.2
-rw-r--r-- 1 root root 16424 2006-12-14 02:52 liblogin.so.2.0.22
-rw-r--r-- 1 root root 38700 2006-12-14 02:52 libntlm.a
-rw-r--r-- 1 root root 829 2006-12-14 02:52 libntlm.la
-rw-r--r-- 1 root root 32520 2006-12-14 02:52 libntlm.so
-rw-r--r-- 1 root root 32520 2006-12-14 02:52 libntlm.so.2
-rw-r--r-- 1 root root 32520 2006-12-14 02:52 libntlm.so.2.0.22
-rw-r--r-- 1 root root 19134 2006-12-14 02:52 libplain.a
-rw-r--r-- 1 root root 835 2006-12-14 02:52 libplain.la
-rw-r--r-- 1 root root 16392 2006-12-14 02:52 libplain.so
-rw-r--r-- 1 root root 16392 2006-12-14 02:52 libplain.so.2
-rw-r--r-- 1 root root 16392 2006-12-14 02:52 libplain.so.2.0.22
-rw-r--r-- 1 root root 29100 2006-12-14 02:52 libsasldb.a
-rw-r--r-- 1 root root 856 2006-12-14 02:52 libsasldb.la
-rw-r--r-- 1 root root 21456 2006-12-14 02:52 libsasldb.so
-rw-r--r-- 1 root root 21456 2006-12-14 02:52 libsasldb.so.2
-rw-r--r-- 1 root root 21456 2006-12-14 02:52 libsasldb.so.2.0.22
-rw-r--r-- 1 root root 90 2008-06-11 16:10 smtpd.conf
-- content of /usr/lib64/sasl2/smtpd.conf --
pwcheck_method: auxprop
auxprop_plugin: sasldb
mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5
-- content of /usr/lib/sasl2/smtpd.conf --
pwcheck_method: auxprop
auxprop_plugin: sasldb
mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5
-- content of /etc/postfix/sasl/smtpd.conf --
pwcheck_method: saslauthd
mech_list: plain login
-- active services in /etc/postfix/master.cf --
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
smtp inet n - 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 fallback_relay=
showq unix n - - - - showq
error 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}
-- mechanisms on localhost --
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
-- end of saslfinger output --
Yours faithfully,
Andrey.
|
|
|