[Postfixbuch-users] SMTP AUTH Problem

r5-benni at web.de r5-benni at web.de
So Sep 9 10:37:33 CEST 2007


> Die Ausgabe von "postconf -n" ist aussagekräftiger.

postconf -n:

alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
default_privs = nobody
home_mailbox = Maildir/
inet_interfaces = all
mail_name = Postfix Mailsystem
mail_owner = postfix
mailbox_size_limit = 0
mydestination = $myhostname, localhost.$mydomain, $mydomain, localhost
mydomain = test-domain.de
myhostname = mail.rootserver.de
mynetworks = 127.0.0.0/8
myorigin = $mydomain
queue_directory = /var/spool/postfix
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_use_tls = yes

> was sagt testsaslauthd -u dein-user -p sein-passwort

testsaslauthd -u test -p test
0: OK "Success."

cat /etc/postfix/sasl/smtpd.conf:

pwcheck_method: saslauthd
mech_list: PLAIN LOGIN
log_level: 3

> poste die ausgabe von saslfinger was steht im log?

saslfinger -c:
saslfinger - postfix Cyrus sasl configuration So 9. Sep 10:16:39 CEST 2007
version: 1.0.2
mode: client-side SMTP AUTH

-- basics --
Postfix: 2.3.8
System: Debian GNU/Linux 4.0 \n \l

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

-- active SMTP AUTH and TLS parameters for smtp --
No active SMTP AUTH and TLS parameters for smtp in main.cf!
SMTP AUTH can't work!

> mynetworks = 127.0.0.0/8 nur das loopback interface?

Ja, das Ding steht ja sowieso im Internet

> mach mal tail -f /pfad/zum/logfile, wenn du versuchst eine mail zu senden

warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Sep  9 10:27:55 mail postfix/smtpd[3463]: warning: p3EE0FCA2.dip.t-dialin.net[62.280.61.38]: SASL LOGIN authentication failed: generic failure

Der Ordner existiert jedoch, habe ihn der Gruppe postfix zugeordnet und alle Rechte gegeben, gleiche Meldung.

> Also grundlegend wäre schon zu wissen welches Postfix du bentutzt

2.3.8






Mehr Informationen über die Mailingliste Postfixbuch-users