Archiv verlassen und diese Seite im Standarddesign anzeigen : problem mit postfix und smtp-auth
Ich habe nach der Anleitung von HIER (http://www.greatnet.de/cms/front_content.php?client=1&lang=1&idcat=42&idart=641) postfix klar machen wollen, dass er smtp-auth machen/nutzen (?) soll. Wenn ich versuche eine mail zu versenden, werde ich nach dem passwort gefragt und wenn ich es eingebe und enter drücke dann werde ich nach dem passwort gefragt und wenn ich es eingebe und enter drücke dann werde...
Es funktioniert also nicht so richtig. Gibt es noch weitere einstellungen auf die man achten sollte, wenn man sowas vorhat?
was steht in den Logfiles?
In /var/log/mail steht:
warning: SASL authentication failure: Password verification failedIch habe mich mit den Zugangsdaten meines Unix-Accounts eingeloggt. Das ist doch richtig, oder nicht?
poste mal die imap.conf und die smpd.conf...
smtpd.conf
pwcheck_method: pwcheck
mech_list: plain login
pwcheck_method: habe ich grad eben erst auf pwcheck gesetzt , stand in der SASL_README und dann saslauthd neu gestartet. Ergab leider keine Veränderung. Ich habe auch alles gesetzt was in der genannten README unter "In order to authenticate against the UNIX password database" steht gemacht und postfix neu gestartet. Muss ich vielleicht sonst noch irgendwas neu starten?
Eine imap.conf habe ich nicht, nur eine imapd.conf und selbst di nur einmal als imapd.conf.rpmsave und imapd.conf~. Vermutlich weil ich auch schonmal cyrus drauf und dann wieder entfernt hatte. IMAP funktioniert allerdings auch einwandfrei. Nur smtp nicht.
smtpd.conf
pwcheck_method: habe ich grad eben erst auf pwcheck gesetzt , stand in der SASL_README und dann saslauthd neu gestartet. Ergab leider keine Veränderung. Ich habe auch alles gesetzt was in der genannten README unter "In order to authenticate against the UNIX password database" steht gemacht und postfix neu gestartet. Muss ich vielleicht sonst noch irgendwas neu starten?
Eine imap.conf habe ich nicht, nur eine imapd.conf und selbst di nur einmal als imapd.conf.rpmsave und imapd.conf~. Vermutlich weil ich auch schonmal cyrus drauf und dann wieder entfernt hatte. IMAP funktioniert allerdings auch einwandfrei. Nur smtp nicht.
läuft postfix unter chroot? wenn ja, wo liegt denn dann die smtpd.conf? habe eh, den imapd.conf gemeint...
Ob postfix unter chroot läuft weiß ich nicht, wie finde ich das heraus? Die smtpd.conf liegt in /usr/lib/sasl2/
Ob postfix unter chroot läuft weiß ich nicht, wie finde ich das heraus? Die smtpd.conf liegt in /usr/lib/sasl2/
Poste mal die master.cf und lies die Doku! Es ist grundsätzlich sehr wichtig, ob postfix unter chroot läuft oder nicht... die Zeile snmp Spalte chroot sollte dir verraten...
Hinter mynetworks müssen doch die Adressen stehen, die Mails über den Server versenden dürfen? Kann ich dann, wenn ich smtp-auth nutze, allen erlauben, das zu tun? Oder erzeuge ich so auch mit smtp-auth einen offenen relay? Wenn das Sinnvoll ist, wie lasse ich alles zu?
#
# Postfix master process configuration file. For details on the format
# of the file, see the Postfix master(5) manual page.
#
# ================================================== ========================
# 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
# -o smtpd_client_restrictions=permit_sasl_authenticate d,reject
#smtps inet n - n - - smtpd -o smtpd_tls_wrappermode=yes
# -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#submission inet n - n - - smtpd
# -o smtpd_etrn_restrictions=reject
# -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
#628 inet n - n - - qmqpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 oqmgr
#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
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - n - - smtp
-o fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
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
#localhost:10025 inet n - n - - smtpd -o content_filter=
scache unix - - n - 1 scache
#
# ================================================== ==================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent. See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ================================================== ==================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
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}
Folgendes finde ich grad in /var/log/mail:
connect from xxx.xxx.xxx.xxx
Sep 1 13:14:30 Heulsuse postfix/smtpd[19397]: warning: SASL authentication problem: unknown password verifier
Sep 1 13:14:30 Heulsuse postfix/smtpd[19397]: warning: SASL authentication failure: Password verification failed
Sep 1 13:14:30 Heulsuse postfix/smtpd[19397]: warning: xxx.xxx.xxx.xxx: SASL PLAIN authentication failed
Sep 1 13:14:30 Heulsuse postfix/smtpd[19397]: warning: SASL authentication problem: unknown password verifier
Sep 1 13:14:30 Heulsuse postfix/smtpd[19397]: warning: e178188108.adsl.alicedsl.de[85.178.188.108]: SASL LOGIN authentication failed
Sep 1 13:14:33 Heulsuse postfix/smtpd[19397]: lost connection after AUTH from xxx.xxx.xxx.xxx
Sep 1 13:14:33 Heulsuse postfix/smtpd[19397]: disconnect from xxx.xxx.xxx.xxx
Kann damit jemand was anfangen?
http://groups.google.com/groups?lnk=hpsg&q=warning%3A+SASL+authentication+problem%3A+unknow n+password+verifier
jetzt funktioniert es, ich habe meine smtpd.conf geändert:
pwcheck_method: saslauthd
mech_list: plain login
Und saslauthd mit -a shadow gestartet.
Allerdings funktioniert es nur mit Thunderbrid, mit KMail kommt folgender Fehler:
Das Versenden ist fehlgeschlagen:
Mailversand fehlgeschlagen, da die folgende Empfängeradresse vom Server abgelehnt wurde:
empfänger@mail.xx (Meldung des Servers: <empfänger@mail.xx>: Recipient address rejected: Access denied)
Die Nachricht verbleibt im Postausgang, bis Sie entweder das Problem beseitigt haben (z. B. falsche Adresse) oder die Nachricht aus dem Postausgang entfernen.
Das folgende Transportprotokoll wurde benutzt:
senderdomain.de
Was unterscheidet die beiden denn beim senden, dass es bei einem funktioniert und beim anderen nicht?
Powered by vBulletin® Version 4.2.5 Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.