From: Doklovic, Jonathan (no email)
Date: Mon Apr 25 2005 - 11:29:58 EDT
Hi.
I'm trying to get postfix, sasl2, and mysql working.
I've tried everything and can't get it to send mail.
At this point, if I simply telnet in and give it a *bad* AUTH command, it
errors out properly.
If I give it a proper AUTH command, it just shuts down the connection
immediately.
I've looked around for a solution but haven't found any.
I did see a lot of posts talking about making sure the libsql* libs exist,
but I can't seem to get them.
I've compiled several times with different options for mysql, but the
libsql* libs never get created.
Here's a dump from saslfinger...
(any help would be GREATLY appreciated)
saslfinger - postfix Cyrus sasl configuration Mon Apr 25 12:34:28 EDT 2005
version: 0.9.9.1
mode: server-side SMTP AUTH
-- basics --
Postfix: 2.1.3
System: Slackware 9.1.0
-- smtpd is linked to --
libsasl2.so.2 => /usr/local/lib/libsasl2.so.2 (0x4006f000)
-- active SMTP AUTH and TLS parameters for smtpd -- broken_sasl_auth_clients
= yes smtpd_sasl_auth_enable = yes smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
-- listing of /usr/lib/sasl2 --
total 544
drwxr-xr-x 2 root root 968 Apr 22 17:07 .
drwxr-xr-x 5 root root 3056 Apr 22 16:30 ..
-rwxr-xr-x 1 root root 686 Apr 22 16:29 libanonymous.la
-rwxr-xr-x 1 root root 12624 Apr 22 16:29 libanonymous.so
-rwxr-xr-x 1 root root 12624 Apr 22 16:29 libanonymous.so.2
-rwxr-xr-x 1 root root 12624 Apr 22 16:29
libanonymous.so.2.0.18
-rwxr-xr-x 1 root root 674 Apr 22 16:29 libcrammd5.la
-rwxr-xr-x 1 root root 15172 Apr 22 16:29 libcrammd5.so
-rwxr-xr-x 1 root root 15172 Apr 22 16:29 libcrammd5.so.2
-rwxr-xr-x 1 root root 15172 Apr 22 16:29 libcrammd5.so.2.0.18
-rwxr-xr-x 1 root root 704 Apr 22 16:29 libdigestmd5.la
-rwxr-xr-x 1 root root 40528 Apr 22 16:29 libdigestmd5.so
-rwxr-xr-x 1 root root 40528 Apr 22 16:29 libdigestmd5.so.2
-rwxr-xr-x 1 root root 40528 Apr 22 16:29
libdigestmd5.so.2.0.18
-rwxr-xr-x 1 root root 659 Apr 22 16:29 libotp.la
-rwxr-xr-x 1 root root 59220 Apr 22 16:29 libotp.so
-rwxr-xr-x 1 root root 59220 Apr 22 16:29 libotp.so.2
-rwxr-xr-x 1 root root 59220 Apr 22 16:29 libotp.so.2.0.18
-rwxr-xr-x 1 root root 670 Apr 22 16:29 libplain.la
-rwxr-xr-x 1 root root 13056 Apr 22 16:29 libplain.so
-rwxr-xr-x 1 root root 13056 Apr 22 16:29 libplain.so.2
-rwxr-xr-x 1 root root 13056 Apr 22 16:29 libplain.so.2.0.18
-rwxr-xr-x 1 root root 686 Apr 22 16:29 libsasldb.la
-rwxr-xr-x 1 root root 17272 Apr 22 16:29 libsasldb.so
-rwxr-xr-x 1 root root 17272 Apr 22 16:29 libsasldb.so.2
-rwxr-xr-x 1 root root 17272 Apr 22 16:29 libsasldb.so.2.0.18
-r-------- 1 root root 352 Apr 22 18:29 smtpd.conf
-r-------- 1 root root 187 Jul 16 2004 smtpd.conf.orig
-r-------- 1 postfix postfix 320 Apr 22 15:13 smtpd.jd2
-- content of /usr/lib/sasl2/smtpd.conf --
sasl_pwcheck_method: auxprop
sasl_auxprop_plugin: mysql login plain digestmd5
mysql_hostnames: localhost
sql_user: --- replaced ---
sql_passwd: --- replaced ---
mysql_database: mail
mysql_select: select clear from postfix_users where email='%u@%r' and
smtpaccess='Y';
mysql_verbose: yes
-- 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
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
smtp unix - - n - - smtp
relay unix - - n - - smtp
showq unix n - n - - showq
error unix - - n - - error
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
maildrop unix - n n - - pipe
flags=R user=vmail argv=/usr/local/courier/bin/maildrop -d ${recipient}
old-cyrus unix - n n - - pipe
flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
cyrus unix - n n - - pipe
user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
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=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop
$recipient
-- mechanisms on localhost --
250-AUTH CRAM-MD5 DIGEST-MD5 PLAIN OTP
250-AUTH=CRAM-MD5 DIGEST-MD5 PLAIN OTP
-- end of saslfinger output --
jonathanDoklovic
seniorProgrammerAnalyst
LimitedBrandsTechnologyServices
http://www.victoriassecret.com
|
|
|