Discussion:
Postfix+SASL:
Joerg Streibhardt
2005-02-28 01:19:31 UTC
Permalink
Hallo,

allmählich verliere ich die letzten Nerven: Ich möchte auf einem
Debian postfix mit SASL für den Versand von Clients aus einrichten und
laufe mehr oder minder gegen eine Wand. Egal welche Einstellungen ich
vornehme, ich erhalte bei connect auf einen Port mit aktiviertem SASL
nur einen disconnect von postfix und im log tauchen die folgenden
Zeilen auf:

postfix/smtpd[1933]: fatal: no SASL authentication mechanisms
postfix/master[1894]: warning: process /usr/lib/postfix/smtpd pid 1933 exit status 1
postfix/master[1894]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling

Hat das bereits jemand hinter sich und kann mir einen Tipp geben, wo
ich suchen muss? Google hat mir nicht weiter geholfen, sämtliche
Vorschläge zur Konfiguration, die ich gefunden hatte, haben nicht
funktioniert.

Tschau,
Jörg

Hier die aktuell (nicht) laufende Konfiguration:

saslfinger - postfix Cyrus sasl configuration Mon Feb 28 02:20:58 CET 2005
version: 0.9.9.1
mode: server-side SMTP AUTH

-- basics --
Postfix: 2.1.5
System: Debian GNU/\s 3.0 \n \l

-- smtpd is linked to --
libsasl.so.7 => /usr/lib/libsasl.so.7 (0x40153000)

-- active SMTP AUTH and TLS parameters for smtpd --
broken_sasl_auth_clients = yes
smtpd_sasl_application_name = smtpd
smtpd_sasl_auth_enable = no
smtpd_sasl_local_domain =
smtpd_tls_cert_file = /etc/postfix/[...].cert.pem
smtpd_tls_key_file = /etc/postfix/[...].key
smtpd_use_tls = yes


-- listing of /usr/lib/sasl2 --
total 788
drwxr-xr-x 2 root root 4096 Feb 27 23:37 .
drwxr-xr-x 30 root root 8192 Feb 27 22:10 ..
-rw-r--r-- 1 root root 12030 Oct 8 20:19 libanonymous.a
-rw-r--r-- 1 root root 851 Oct 8 20:19 libanonymous.la
-rw-r--r-- 1 root root 12092 Oct 8 20:19 libanonymous.so
-rw-r--r-- 1 root root 12092 Oct 8 20:19 libanonymous.so.2
-rw-r--r-- 1 root root 12092 Oct 8 20:19 libanonymous.so.2.0.19
-rw-r--r-- 1 root root 14660 Oct 8 20:19 libcrammd5.a
-rw-r--r-- 1 root root 837 Oct 8 20:19 libcrammd5.la
-rw-r--r-- 1 root root 14596 Oct 8 20:19 libcrammd5.so
-rw-r--r-- 1 root root 14596 Oct 8 20:19 libcrammd5.so.2
-rw-r--r-- 1 root root 14596 Oct 8 20:19 libcrammd5.so.2.0.19
-rw-r--r-- 1 root root 42534 Oct 8 20:19 libdigestmd5.a
-rw-r--r-- 1 root root 860 Oct 8 20:19 libdigestmd5.la
-rw-r--r-- 1 root root 39704 Oct 8 20:19 libdigestmd5.so
-rw-r--r-- 1 root root 39704 Oct 8 20:19 libdigestmd5.so.2
-rw-r--r-- 1 root root 39704 Oct 8 20:19 libdigestmd5.so.2.0.19
-rw-r--r-- 1 root root 12524 Oct 8 20:19 liblogin.a
-rw-r--r-- 1 root root 831 Oct 8 20:19 liblogin.la
-rw-r--r-- 1 root root 12776 Oct 8 20:19 liblogin.so
-rw-r--r-- 1 root root 12776 Oct 8 20:19 liblogin.so.2
-rw-r--r-- 1 root root 12776 Oct 8 20:19 liblogin.so.2.0.19
-rw-r--r-- 1 root root 28646 Oct 8 20:19 libntlm.a
-rw-r--r-- 1 root root 825 Oct 8 20:19 libntlm.la
-rw-r--r-- 1 root root 28456 Oct 8 20:19 libntlm.so
-rw-r--r-- 1 root root 28456 Oct 8 20:19 libntlm.so.2
-rw-r--r-- 1 root root 28456 Oct 8 20:19 libntlm.so.2.0.19
-rw-r--r-- 1 root root 17988 Oct 8 20:19 libotp.a
-rw-r--r-- 1 root root 825 Oct 8 20:19 libotp.la
-rw-r--r-- 1 root root 40200 Oct 8 20:19 libotp.so
-rw-r--r-- 1 root root 40200 Oct 8 20:19 libotp.so.2
-rw-r--r-- 1 root root 40200 Oct 8 20:19 libotp.so.2.0.19
-rw-r--r-- 1 root root 12472 Oct 8 20:19 libplain.a
-rw-r--r-- 1 root root 831 Oct 8 20:19 libplain.la
-rw-r--r-- 1 root root 12620 Oct 8 20:19 libplain.so
-rw-r--r-- 1 root root 12620 Oct 8 20:19 libplain.so.2
-rw-r--r-- 1 root root 12620 Oct 8 20:19 libplain.so.2.0.19
-rw-r--r-- 1 root root 18734 Oct 8 20:19 libsasldb.a
-rw-r--r-- 1 root root 837 Oct 8 20:19 libsasldb.la
-rw-r--r-- 1 root root 16604 Oct 8 20:19 libsasldb.so
-rw-r--r-- 1 root root 16604 Oct 8 20:19 libsasldb.so.2
-rw-r--r-- 1 root root 16604 Oct 8 20:19 libsasldb.so.2.0.19
-rw-r--r-- 1 root root 100 Feb 28 01:00 smtpd.conf
-rw-r--r-- 1 root root 99 Feb 28 01:00 smtpd.conf~




-- content of /usr/lib/sasl2/smtpd.conf --
pwcheck_method: auxprop
#pwcheck_method: saslauthd
#mech_list: PLAIN LOGIN
#pwcheck_method: pwcheck

-- content of /etc/postfix/sasl/smtpd.conf --
#mech_list: PLAIN
#minimum_layer: 0
#pwcheck_method: saslauthd
#auto_transition: no

pwcheck_method: saslauthd
mech_list: plain


-- active services in /etc/postfix/master.cf --
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (50)
smtp inet n - - - - smtpd
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - - 300 1 qmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
flush unix n - - 1000? 0 flush
smtp unix - - - - - smtp
showq unix n - - - - showq
error unix - - - - - error
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
cyrus unix - n n - - pipe
flags=R user=cyrus argv=/usr/sbin/cyrdeliver -e -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=bsmtp argv=/usr/lib/bsmtp/bsmtp -d -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}

smtps inet n - n - - smtpd -vvvvvvv -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
proxymap unix - - n - - proxymap
trace unix - - - - 0 bounce
verify unix - - - - 1 verify
--
linux-***@mailman.etes.de
eintragen - austragen - konfigurieren - Archiv
http://mailman.etes.de/mailman/listinfo/linux-liste
Jan Theofel
2005-02-28 15:04:12 UTC
Permalink
Hi Jörg,
Post by Joerg Streibhardt
allmählich verliere ich die letzten Nerven: Ich möchte auf einem
Debian postfix mit SASL für den Versand von Clients aus einrichten und
laufe mehr oder minder gegen eine Wand. Egal welche Einstellungen ich
vornehme, ich erhalte bei connect auf einen Port mit aktiviertem SASL
nur einen disconnect von postfix und im log tauchen die folgenden
postfix/smtpd[1933]: fatal: no SASL authentication mechanisms
postfix/master[1894]: warning: process /usr/lib/postfix/smtpd pid 1933 exit status 1
postfix/master[1894]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Die Zeile "bad command startup -- throttling" klingt sehr nach einem
Konfigurtionsproblem von Postfix. Ich meine wir haben kürzlich auf der
Postfix-User-Liste etwas ganz ähnliches diskutiert. Liste und Archiv
findest du hier:
http://listi.jpberlin.de/mailman/listinfo/postfixbuch-users

Wenn es ein bischen Zeit hat könnte ich gegen Ende der Woche mal einen
Blick drauf werfen.

Gruß
Jan
--
Jan Theofel Fon: +49 (7 11) 48 90 83 - 0
ETES - EDV-Systemhaus GbR Fax: +49 (7 11) 48 90 83 - 50
Libanonstrasse 58 A * D-70184 Stuttgart Web: http://www.etes.de
--
linux-***@mailman.etes.de
eintragen - austragen - konfigurieren - Archiv
http://mailman.etes.de/mailman/listinfo/linux-liste
Joerg Streibhardt
2005-02-28 15:24:38 UTC
Permalink
Hi Jan,
Post by Jan Theofel
Post by Joerg Streibhardt
postfix/smtpd[1933]: fatal: no SASL authentication mechanisms
Die Zeile "bad command startup -- throttling" klingt sehr nach einem
Konfigurtionsproblem von Postfix.
Ist es. Die eigentlich interessante Fehlermeldung ist "no SASL
authentication mechanisms" - nach der verabschiedet sich der smtpd-Teil
von postfix. Allerdings weiß ich nicht, warum die gebracht wird und wo ich
schrauben muss, um sie los zu werden.
Post by Jan Theofel
http://listi.jpberlin.de/mailman/listinfo/postfixbuch-users
Wenn es ein bischen Zeit hat könnte ich gegen Ende der Woche mal einen
Blick drauf werfen.
Ich schaue mal, aber wenn du auch einen Blick werfen kannst, wäre ich sehr
dankbar!

Grüße,
Jörg
--
linux-***@mailman.etes.de
eintragen - austragen - konfigurieren - Archiv
http://mailman.etes.de/mailman/listinfo/linux-liste
Loading...