[Postfixbuch-users] confixx smtp_auth saslauth relay access denied

Sandy Drobic postfixbuch-users at japantest.homelinux.com
Fr Mai 12 22:53:56 CEST 2006


Holm Kapschitzki wrote:
> Hallo,
> 
> ach wenn dieses confixx nicht währ, aber das ist ein anderes Thema ....
> 
> Ich habe Debian 3.1 und zur Vereinfachung erstmal Postfix aus dem Chroot 
> rausgenommen, um wenigstens diese Fehlerquelle auszuschalten. Das Senden 
> der Mails von local und der Empfang als auch das Abholen über Cyrus Imap 
> ist kein Problem. Als Athentifizierungsbackend nehme ich sasauthd über 
> pam. Auf der Konsole kann ich mich mit
> "testsaslauthd" erfolgreich authentifizieren. Doch ich bekomms grade 
> seit Stunden nicht gebacken eine Mail von entfernt zu verschicken.

hast du getestet mit "testsaslauthd -u user -p password -s smtp"?

> main.cf:
> 
> myhostname = localhost
> alias_maps = hash:/etc/aliases
> alias_database = hash:/etc/aliases
> myorigin = /etc/mailname
> mydestination = localhost
> mynetworks = 127.0.0.0/8
> mailbox_command = procmail -a "$EXTENSION"
> mailbox_size_limit = 0
> recipient_delimiter = +
> inet_interfaces = all
> mailbox_transport = lmtp:unix:/var/run/cyrus/socket/lmtp
> 
> smtpd_sasl_auth_enable = yes
> smtpd_sasl_security_options = noanonymous
> smtpd_sasl_local_domain =
> broken_sasl_auth_clients = yes
> 
> ### CONFIXX POSTFIX ENTRY ###
> virtual_maps = hash:/etc/postfix/confixx_virtualUsers, 
> hash:/etc/postfix/confixx_localDomains
> ### /CONFIXX POSTFIX ENTRY ###

Zeige besser die Ausgabe von "postconf -n", die ist lesbarer.

Was zeigt denn Postfix nach dem ehlo für Zeilen an? Sollte so ähnlich sein 
wie diese hier:

220 japantest.homelinux.com ESMTP Postfix
ehlo localhost
250-japantest.homelinux.com
250-PIPELINING
250-SIZE 100000000
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN

Sind die Auth-Zeilen zu sehen bei dir?



> in /etc/postfix/sasl liegt die smtpd.conf:
> 
> # Global parameters
> log_level: 3
> pwcheck_method: saslauthd
> mech_list: PLAIN LOGIN

wie wird saslauthd gestartet?
ps aux| grep saslauthd

> hier der mail.log:
> 
> May 12 21:50:28 srv3 postfix/smtpd[19510]: connect from 
> p54BCD697.dip.t-dialin.net[meine_ip]
> May 12 21:50:29 srv3 postfix/smtpd[19510]: NOQUEUE: reject: RCPT from 
> p54BCD697.dip.t-dialin.net[meine_ip]: 554 <empfänger>: Relay access 
> denied; from=<test at test.srv3.rz1.sysprovide.de> to=<empfänger> 
> proto=ESMTP helo=<[192.168.0.150]>

Sieht nicht so aus, als ob eine authentifikation stattgefunden hat.

Poste doch mal die Ausgabe von "saslfinger -s".

Sandy




Mehr Informationen über die Mailingliste Postfixbuch-users