![](https://seccdn.libravatar.org/avatar/850fad131162018fc398d68092d46d9b.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hallo Sandy, Sandy Drobic schrieb:
Michael Post wrote:
Schicke mal die Ausgabe von "saslfinger -s"
Musste das Tool erst einmal im Internet finden und installieren. War aber sehr leicht. Für das Archiv: http://postfix.state-of-mind.de/patrick.koetter/saslfinger/ psYkoMobil:/home/michael/Desktop/saslfinger-1.0 # saslfinger -s saslfinger - postfix Cyrus sasl configuration Fr Feb 24 12:29:12 CET 2006 version: 1.0 mode: server-side SMTP AUTH - -- basics -- Postfix: 2.2.8 System: Welcome to SuSE Linux 9.3 (i586) - Kernel \r (\l). - -- smtpd is linked to -- libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x40182000) - -- active SMTP AUTH and TLS parameters for smtpd -- broken_sasl_auth_clients = yes smtpd_sasl_auth_enable = yes smtpd_sasl_local_domain = smtpd_sasl_security_options = noanonymous smtpd_tls_CAfile = /etc/postfix/certs/CAcert.pem smtpd_tls_auth_only = no smtpd_tls_cert_file = /etc/postfix/certs/cert.pem smtpd_tls_key_file = /etc/postfix/certs/key.pem smtpd_tls_loglevel = 1 smtpd_tls_received_header = yes smtpd_tls_session_cache_timeout = 3600s smtpd_use_tls = yes - -- listing of /usr/lib/sasl2 -- insgesamt 780 drwxr-xr-x 2 root root 1336 2006-01-29 20:00 . drwxr-xr-x 169 root root 64088 2006-02-20 21:53 .. - -rwxr-xr-x 1 root root 695 2005-03-19 21:29 libanonymous.la - -rwxr-xr-x 1 root root 13560 2005-03-19 21:29 libanonymous.so - -rwxr-xr-x 1 root root 13560 2005-03-19 21:29 libanonymous.so.2 - -rwxr-xr-x 1 root root 13560 2005-03-19 21:29 libanonymous.so.2.0.20 - -rwxr-xr-x 1 root root 683 2005-03-19 21:29 libcrammd5.la - -rwxr-xr-x 1 root root 15828 2005-03-19 21:29 libcrammd5.so - -rwxr-xr-x 1 root root 15828 2005-03-19 21:29 libcrammd5.so.2 - -rwxr-xr-x 1 root root 15828 2005-03-19 21:29 libcrammd5.so.2.0.20 - -rwxr-xr-x 1 root root 713 2005-03-19 21:29 libdigestmd5.la - -rwxr-xr-x 1 root root 43544 2005-03-19 21:29 libdigestmd5.so - -rwxr-xr-x 1 root root 43544 2005-03-19 21:29 libdigestmd5.so.2 - -rwxr-xr-x 1 root root 43544 2005-03-19 21:29 libdigestmd5.so.2.0.20 - -rwxr-xr-x 1 root root 749 2005-03-19 21:29 libgssapiv2.la - -rwxr-xr-x 1 root root 25912 2005-03-19 21:29 libgssapiv2.so - -rwxr-xr-x 1 root root 25912 2005-03-19 21:29 libgssapiv2.so.2 - -rwxr-xr-x 1 root root 25912 2005-03-19 21:29 libgssapiv2.so.2.0.20 - -rwxr-xr-x 1 root root 679 2005-03-19 21:29 liblogin.la - -rwxr-xr-x 1 root root 14420 2005-03-19 21:29 liblogin.so - -rwxr-xr-x 1 root root 14420 2005-03-19 21:29 liblogin.so.2 - -rwxr-xr-x 1 root root 14420 2005-03-19 21:29 liblogin.so.2.0.20 - -rwxr-xr-x 1 root root 675 2005-03-19 21:29 libotp.la - -rwxr-xr-x 1 root root 44924 2005-03-19 21:29 libotp.so - -rwxr-xr-x 1 root root 44924 2005-03-19 21:29 libotp.so.2 - -rwxr-xr-x 1 root root 44924 2005-03-19 21:29 libotp.so.2.0.20 - -rwxr-xr-x 1 root root 679 2005-03-19 21:29 libplain.la - -rwxr-xr-x 1 root root 14420 2005-03-19 21:29 libplain.so - -rwxr-xr-x 1 root root 14420 2005-03-19 21:29 libplain.so.2 - -rwxr-xr-x 1 root root 14420 2005-03-19 21:29 libplain.so.2.0.20 - -rwxr-xr-x 1 root root 707 2005-03-19 21:29 libsasldb.la - -rwxr-xr-x 1 root root 18792 2005-03-19 21:29 libsasldb.so - -rwxr-xr-x 1 root root 18792 2005-03-19 21:29 libsasldb.so.2 - -rwxr-xr-x 1 root root 18792 2005-03-19 21:29 libsasldb.so.2.0.20 - -rwxr-xr-x 1 root root 706 2005-03-19 21:29 libsql.la - -rwxr-xr-x 1 root root 21928 2005-03-19 21:29 libsql.so - -rwxr-xr-x 1 root root 21928 2005-03-19 21:29 libsql.so.2 - -rwxr-xr-x 1 root root 21928 2005-03-19 21:29 libsql.so.2.0.20 - -rw------- 1 root root 107 2005-12-11 12:15 smtpd.conf - -rw------- 1 root root 108 2005-12-11 12:14 smtpd.conf~ - -- content of /usr/lib/sasl2/smtpd.conf -- pwcheck_method: saslauthd mech_list: plain login cram-md5 digest-md5 #log_level: 3 #ausprop_plugin: sasldb - -- 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 submission inet n - n - - smtpd -o smtpd_etrn_restrictions=reject smtps inet n - n - - smtpd -o smtpd_tls_wrappermode=yes submission inet n - n - - smtpd -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes 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 smtp unix - - n - - smtp relay unix - - n - - smtp -o fallback_relay= showq unix n - n - - showq error 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/local/bin/maildrop -d ${recipient} cyrus unix - n n - - pipe user=cyrus argv=/usr/lib/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 procmail unix - n n - - pipe flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient} tlsmgr unix - - n 1000? 1 tlsmgr - -- mechanisms on localhost -- 250-AUTH CRAM-MD5 DIGEST-MD5 LOGIN PLAIN 250-AUTH=CRAM-MD5 DIGEST-MD5 LOGIN PLAIN - -- end of saslfinger output -- Ich erhalte leider immer noch - hatte schon gehofft das es aufgehört hat in /var/log/mail.warn folgende Einträge Feb 24 12:58:01 psYkoMobil postfix/smtpd[14634]: warning: SASL authentication failure: no secret in database Feb 24 12:58:01 psYkoMobil postfix/smtpd[14634]: warning: localhost[127.0.0.1]: SASL CRAM-MD5 authentication failed
Hast du "sichere Anmeldung" angehakt?
Ich habe gehe über SMTP-Auth und habe es mit und ohne TLS versucht. Jetzt funktioniert das Versenden über localhost als SMTP-Domain. Aber wenn ich über die IP-Adresse gehe, dann leider nicht mehr. Klingt nach einem mynetworks-Problem. In den Log-Dateien ist aber kein passender Eintrag zu finden. Weder in /var/log/messages, /var/log/mail, /var/log/mail.err, /var/log/mail.warn oder /var/log/mail.info psYkoMobil:/home/michael/Desktop/saslfinger-1.0 # telnet mailserver.dyndns.org 25 Trying 84.63.xxx.xxx... Connected to mailserver.dyndns.org. Escape character is '^]'. 220 test.de ESMTP Postfix ehlo test.de 250-test.de 250-PIPELINING 250-SIZE 20480000 250-ETRN 250-STARTTLS 250-AUTH CRAM-MD5 DIGEST-MD5 LOGIN PLAIN 250-AUTH=CRAM-MD5 DIGEST-MD5 LOGIN PLAIN 250 8BITMIME mail from: michael.post@test.de 250 Ok rcpt to: michael.post@purematic.de 554 <michael.post@purematic.de>: Relay access denied quit 221 Bye Connection closed by foreign host. mynetworks ist derzeit in der main.cf nicht angegeben. Welche Angabe wäre hier sinnvoll? lg Michael -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFD/vaDNhM2b4kmzXwRAgwlAJ9OURdgi7OUrbguPYl/DR5Fi8rAOACeJIDj HwbsluUNn2f5LI7WXcXJdL0= =BcJt -----END PGP SIGNATURE-----