|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Andrew Coleman (acoleman
hfdirect.com)Date: Fri Sep 07 2001 - 12:22:23 CDT
Hi. I haven't seen my problem posted before, so here goes:
I believe I have compiled/installed/configured postfix and cyrus-sasl correctly
(or atleast as correctly as I know how...) but I have not been able to get
postfix to give an AUTH banner. I tried this on RH7.1, then on a freshly built
LFS system to try to isolate my problems. I must be missing something basic to
not get an AUTH banner.
Thanks for any help, ideas, leads, obvious posts I am really hoping I didn't miss....
andy.
(Oh, I am using postfix-20010228-pl04, but tried snapshot-20010808, and cyrus-sasl-1.5.24)
###########TELNET SESSION#######################
#FROM ANOTHER MACHINE (If I telnet 127.0.0.1 25 from the LFS/postfix machine, I get the same set of banners)
telnet lunkwill 25
Trying 192.168.0.64...
Connected to lunkwill (192.168.0.64).
Escape character is '^]'.
220 LFS.dentarthurdent.org ESMTP Postfix
ehlo magrathea.dentarthurdent.org
250-LFS.dentarthurdent.org
250-PIPELINING
250-SIZE 10240000
250-ETRN
250 8BITMIME
^]
telnet> quit
Connection closed.
################POSTCONF --- LOGS ##################
bash-2.05# postconf -n
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
mail_owner = postfix
mydestination = $myhostname, localhost.$mydomain
myhostname = LFS.dentarthurdent.org
mynetworks = 127.0.0.0/8
myorigin = $myhostname
queue_directory = /var/spool/postfix
smtpd_recipient_restrictions = permit_sasl_authenticated, reject
smtpd_sasl_local_domain = $mydomain
smtpd_sasl_security_options = noanonymous
bash-2.05#
sh-2.05$ tail /var/log/mail.log
Sep 7 11:51:25 LFSmachine postfix-script: starting the Postfix mail system
Sep 7 11:51:25 LFSmachine postfix/master[10909]: daemon started
Sep 7 11:51:35 LFSmachine postfix/smtpd[10912]: connect from magrathea.dentarthurdent.org[192.168.0.99]
Sep 7 11:51:53 LFSmachine postfix/smtpd[10912]: lost connection after EHLO from magrathea.dentarthurdent.org[192.168.0.99]
Sep 7 11:51:53 LFSmachine postfix/smtpd[10912]: disconnect from magrathea.dentarthurdent.org[192.168.0.99]
Sep 7 11:52:00 LFSmachine postfix-script: stopping the Postfix mail system
Sep 7 11:52:00 LFSmachine postfix/master[10909]: terminating on signal 15
################# LDDs ############################
I read about db version problems (I don't think I have them...)
bash-2.05# ldd /usr/libexec/postfix/smtpd
libsasl.so.7 => /usr/lib/libsasl.so.7 (0x4001b000)
libdb-3.3.so => /usr/local/lib/libdb-3.3.so (0x40027000)
libnsl.so.1 => /lib/libnsl.so.1 (0x400ab000)
libresolv.so.2 => /lib/libresolv.so.2 (0x400c0000)
libc.so.6 => /lib/libc.so.6 (0x400d2000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x4020d000)
libdl.so.2 => /lib/libdl.so.2 (0x40215000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x40219000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
bash-2.05# ldd /usr/lib/libsasl.so.7
libdb-3.3.so => /usr/local/lib/libdb-3.3.so (0x4000f000)
libdl.so.2 => /lib/libdl.so.2 (0x40093000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x40097000)
libresolv.so.2 => /lib/libresolv.so.2 (0x400c5000)
libc.so.6 => /lib/libc.so.6 (0x400d7000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x40212000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
bash-2.05# ldd /usr/local/sbin/sasldblistusers
libdb-3.3.so => /usr/local/lib/libdb-3.3.so (0x40018000)
libresolv.so.2 => /lib/libresolv.so.2 (0x4009f000)
libc.so.6 => /lib/libc.so.6 (0x400b1000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x401eb000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
bash-2.05# ldd /usr/local/sbin/saslpasswd
libsasl.so.7 => /usr/local/lib/libsasl.so.7 (0x40018000)
libdb-3.3.so => /usr/local/lib/libdb-3.3.so (0x40024000)
libdl.so.2 => /lib/libdl.so.2 (0x400ab000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x400af000)
libresolv.so.2 => /lib/libresolv.so.2 (0x400dd000)
libc.so.6 => /lib/libc.so.6 (0x400f0000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x4022a000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
bash-2.05#
##################### SASL STUFF ###########################
bash-2.05# /usr/local/sbin/sasldblistusers
user: testdummy realm: LFSmachine mech: PLAIN
user: testdummy realm: LFSmachine mech: CRAM-MD5
user: testdummy realm: LFSmachine mech: DIGEST-MD5
bash-2.05#
bash-2.05# ls -al /etc/sasldb
-rw-r----- 1 root postfix 12288 Sep 7 11:54 /etc/sasldb
bash-2.05#
bash-2.05# ls -la /usr/lib/sasl
lrwxrwxrwx 1 root root 19 Sep 6 11:43 /usr/lib/sasl -> /usr/local/lib/sasl
bash-2.05#
bash-2.05# cat /usr/local/lib/sasl/smtpd.conf
pwcheck_method: sasldb
bash-2.05#
I tried adding other realms, but it didn't help (and I don't know how sasl uses the realms...):
bash-2.05# /usr/local/sbin/sasldblistusers
user: testdummy realm: LFSmachine mech: PLAIN
user: testdummy realm: LFSmachine mech: CRAM-MD5
user: testdummy realm: LFS mech: DIGEST-MD5
user: testdummy realm: Postfix mech: DIGEST-MD5
user: testdummy realm: LFSmachine mech: DIGEST-MD5
user: testdummy realm: LFS mech: PLAIN
user: testdummy realm: LFS mech: CRAM-MD5
user: testdummy realm: Postfix mech: PLAIN
user: testdummy realm: Postfix mech: CRAM-MD5
bash-2.05#
-
To unsubscribe, send mail to majordomo
postfix.org with content
(not subject): unsubscribe postfix-users
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]