> place an 'n' in the chroot column for each service

Sounds good.

On your advice, I went and turned off chroot, then ran "saslfinger -s" again 
(output attached).
I restarted the saslauthd and postfix services before doing so.
You can see that chroot is off for all components.

Further, based on the Postfix Debugging documentation, I turned on debugging 
for localhost.


Unfortunately, I am running into the same errors when I test telnet:
535 5.7.8 Error: authentication failed: authentication failure

postfix/smtpd[30480]: auxpropfunc error invalid parameter supplied
postfix/smtpd[30480]: _sasl_plugin_load failed on sasl_auxprop_plug_init for 
plugin: ldapdb


The error is different in syslog though, it looks like it just isn't finding 
the right password:
postfix/smtpd[30710]: xsasl_cyrus_server_first: sasl_method plain, 
init_response MY-HASH
postfix/smtpd[30710]: xsasl_cyrus_server_first: decoded initial response
postfix/smtpd[30710]: warning: SASL authentication failure: Password 
verification failed
postfix/smtpd[30710]: warning: localhost.localdomain[127.0.0.1]: SASL plain 
authentication failed: authentication failure
postfix/smtpd[30710]: > localhost.localdomain[127.0.0.1]: 535 5.7.8 Error: 
authentication failed: authentication failure
postfix/smtpd[30710]: watchdog_pat: 0xb91ef1b0
postfix/smtpd[30710]: smtp_get: EOF
postfix/smtpd[30710]: match_hostname: localhost.localdomain ~? 127.0.0.0/8
postfix/smtpd[30710]: match_hostaddr: 127.0.0.1 ~? 127.0.0.0/8
postfix/smtpd[30710]: lost connection after AUTH from 
localhost.localdomain[127.0.0.1]
postfix/smtpd[30710]: disconnect from localhost.localdomain[127.0.0.1]



It seems a less serious error than last time, however, it's still running into 
a brick wall when interfacing with SASL, even though the previously mentioned 
testsaslauthd command succeeds.
saslfinger - postfix Cyrus sasl configuration Tue Sep 13 15:34:52 CDT 2011
version: 1.0.4
mode: server-side SMTP AUTH

-- basics --
Postfix: 2.7.1
System: Debian GNU/Linux 6.0 \n \l

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

-- active SMTP AUTH and TLS parameters for smtpd --
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = 
smtpd_sasl_security_options = noanonymous
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:${data_directory}/smtpd_scache
smtpd_use_tls = yes


-- listing of /usr/lib/sasl2 --
total 756
drwxr-xr-x  2 root root  4096 Jun 26 23:58 .
drwxr-xr-x 58 root root 16384 Sep  2 20:34 ..
-rw-r--r--  1 root root 13436 Dec 19  2010 libanonymous.a
-rw-r--r--  1 root root  1003 Dec 19  2010 libanonymous.la
-rw-r--r--  1 root root 13076 Dec 19  2010 libanonymous.so
-rw-r--r--  1 root root 13076 Dec 19  2010 libanonymous.so.2
-rw-r--r--  1 root root 13076 Dec 19  2010 libanonymous.so.2.0.23
-rw-r--r--  1 root root 15882 Dec 19  2010 libcrammd5.a
-rw-r--r--  1 root root   989 Dec 19  2010 libcrammd5.la
-rw-r--r--  1 root root 15444 Dec 19  2010 libcrammd5.so
-rw-r--r--  1 root root 15444 Dec 19  2010 libcrammd5.so.2
-rw-r--r--  1 root root 15444 Dec 19  2010 libcrammd5.so.2.0.23
-rw-r--r--  1 root root 45328 Dec 19  2010 libdigestmd5.a
-rw-r--r--  1 root root  1012 Dec 19  2010 libdigestmd5.la
-rw-r--r--  1 root root 43144 Dec 19  2010 libdigestmd5.so
-rw-r--r--  1 root root 43144 Dec 19  2010 libdigestmd5.so.2
-rw-r--r--  1 root root 43144 Dec 19  2010 libdigestmd5.so.2.0.23
-rw-r--r--  1 root root 13744 Dec 19  2010 libldapdb.a
-rw-r--r--  1 root root   996 Dec 19  2010 libldapdb.la
-rw-r--r--  1 root root 14540 Dec 19  2010 libldapdb.so
-rw-r--r--  1 root root 14540 Dec 19  2010 libldapdb.so.2
-rw-r--r--  1 root root 14540 Dec 19  2010 libldapdb.so.2.0.23
-rw-r--r--  1 root root 13586 Dec 19  2010 liblogin.a
-rw-r--r--  1 root root   983 Dec 19  2010 liblogin.la
-rw-r--r--  1 root root 13552 Dec 19  2010 liblogin.so
-rw-r--r--  1 root root 13552 Dec 19  2010 liblogin.so.2
-rw-r--r--  1 root root 13552 Dec 19  2010 liblogin.so.2.0.23
-rw-r--r--  1 root root 29140 Dec 19  2010 libntlm.a
-rw-r--r--  1 root root   977 Dec 19  2010 libntlm.la
-rw-r--r--  1 root root 28528 Dec 19  2010 libntlm.so
-rw-r--r--  1 root root 28528 Dec 19  2010 libntlm.so.2
-rw-r--r--  1 root root 28528 Dec 19  2010 libntlm.so.2.0.23
-rw-r--r--  1 root root 13786 Dec 19  2010 libplain.a
-rw-r--r--  1 root root   983 Dec 19  2010 libplain.la
-rw-r--r--  1 root root 14096 Dec 19  2010 libplain.so
-rw-r--r--  1 root root 14096 Dec 19  2010 libplain.so.2
-rw-r--r--  1 root root 14096 Dec 19  2010 libplain.so.2.0.23
-rw-r--r--  1 root root 21498 Dec 19  2010 libsasldb.a
-rw-r--r--  1 root root  1014 Dec 19  2010 libsasldb.la
-rw-r--r--  1 root root 18084 Dec 19  2010 libsasldb.so
-rw-r--r--  1 root root 18084 Dec 19  2010 libsasldb.so.2
-rw-r--r--  1 root root 18084 Dec 19  2010 libsasldb.so.2.0.23
-rw-r--r--  1 root root    49 Jun 26 23:58 smtpd.conf

-- listing of /etc/postfix/sasl --
total 8
drwxr-xr-x 2 root root 4096 May  4 16:30 .
drwxr-xr-x 3 root root 4096 Jun 26 03:12 ..




-- content of /usr/lib/sasl2/smtpd.conf --
pwcheck_method: saslauthd
mech_list: login plain


-- 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       -       n       60      1       pickup
cleanup   unix  n       -       n       -       0       cleanup
qmgr      fifo  n       -       n       300     1       qmgr
tlsmgr    unix  -       -       n       1000?   1       tlsmgr
rewrite   unix  -       -       n       -       -       trivial-rewrite
bounce    unix  -       -       n       -       0       bounce
defer     unix  -       -       n       -       0       bounce
trace     unix  -       -       n       -       0       bounce
verify    unix  -       -       n       -       1       verify
flush     unix  n       -       n       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
proxywrite unix -       -       n       -       1       proxymap
smtp      unix  -       -       n       -       -       smtp
relay     unix  -       -       n       -       -       smtp
        -o smtp_fallback_relay=
showq     unix  n       -       n       -       -       showq
error     unix  -       -       n       -       -       error
retry     unix  -       -       n       -       -       error
discard   unix  -       -       n       -       -       discard
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       n       -       -       lmtp
anvil     unix  -       -       n       -       1       anvil
scache    unix  -       -       n       -       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 CRAM-MD5 DIGEST-MD5 PLAIN NTLM LOGIN


-- end of saslfinger output --

Reply via email to