Page 1 of 1
mails kommen nicht mehr an
Posted: 2005-06-15 13:39
by dirkv99
hallo zusammen!
ich würde von euch gern einen anhaltspunkt erfahren, was das fixen eines mailproblems angeht. ich habe kürzlich ein upgrade (woody) gemacht und zunächst keine fehler im anschluss festgestellt. inzwischen stellte sich aber heraus, dass keine mails mehr empfangen werden. der pop3-abruf (z.b outlook express) funktioniert scheinbar einwandfrei, user auf dem server können sich untereinander mails schicken und diese auch problemlos empfangen. das problem existiert also nur für mails von außen. verschicken ist grundsätzlich kein problem. es läuft auch confixx 3. wer kann helfen?
danke!
dirk
Re: mails kommen nicht mehr an
Posted: 2005-06-15 13:44
by chris76
Ist der MTA von außen erreichbar?
Was Sprechen die Logfiles zu dem Zeitpunkt wenn von außen eine Mail kommt?
Re: mails kommen nicht mehr an
Posted: 2005-06-16 04:35
by dodolin
Sorry, viel zu wenig Information. Meine Glaskugel spuckt noch "DNS Problem" aus.
mail.err
Posted: 2005-06-16 21:31
by dirkv99
sorry, konnte nicht auf die logfiles zugreifen, als ich den beitrag geschrieben habe. in der mail.err steht folgender eintrag:
Code: Select all
Jun 16 20:40:58 h6674 postfix/smtpd[4922]: fatal: no SASL authentication mechanisms
in der mail.warn:
Code: Select all
Jun 16 20:29:31 h6674 postfix/master[4172]: warning: process /usr/lib/postfix/smtpd pid 4483 exit status 1
Jun 16 20:29:31 h6674 postfix/master[4172]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
gruß,
dirk
Re: mails kommen nicht mehr an
Posted: 2005-06-16 22:23
by dodolin
Dein Postfix Daemon laeuft und lauscht auf Port 25?
Re: mails kommen nicht mehr an
Posted: 2005-06-16 23:16
by dirkv99
ein "apt-get install libsas12-modules" hat immerhin dazu geführt, dass ich wieder mails empfangen kann. versenden klappt aber weiterhin nicht (time out). in den log-dateien steht leider nix...
dirk
Re: mails kommen nicht mehr an
Posted: 2005-06-17 01:51
by adjustman
dirkv99 wrote:versenden klappt aber weiterhin nicht
Code: Select all
Jun 16 20:40:58 h6674 postfix/smtpd[4922]: fatal: no SASL authentication mechanisms
du hast Postfix mit sasl laufen und es nicht richtig mitkompiliert oder eingestellt
Code: Select all
postfix/master[4172]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Postfix kackt ab
dirkv99 wrote:
. in den log-dateien steht leider nix...
das glaub ich dir nicht! Ausgabe von postconf -n bitte
Re: mails kommen nicht mehr an
Posted: 2005-06-18 10:43
by dirkv99
stimmt, es steht was d'rin :oops:
Code: Select all
Jun 18 10:13:47 h6674 postfix/smtpd[28083]: warning: SASL authentication problem: unknown password verifier
Jun 18 10:13:47 h6674 postfix/smtpd[28083]: warning: pxxxxxxx.dip0.t-ipconnect.de[xx.xxx.xxx.xxx]: SASL LOGIN authentication failed
Jun 18 10:13:47 h6674 postfix/smtpd[28083]: lost connection after AUTH from pxxxxxxx.dip0.t-ipconnect.de[xx.xxx.xxx.xxx]
und postconf -n
Code: Select all
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
mailbox_command = /usr/bin/procmail
mailbox_size_limit = 0
mydestination = xxxxx.xxxxxxxxxx.xxx, localhost
myhostname = xxxxx.xxxxxxxxxx.xxx
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
recipient_delimiter = +
relayhost =
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,check_relay_domains
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
/etc/postfix/sasl/smtpd.conf
habe schon reichlich im forum und google gesucht. leider bisher ohne erfolg... :(
Re: mails kommen nicht mehr an
Posted: 2005-06-18 12:07
by adjustman
dirkv99 wrote:stimmt, es steht was d'rin :oops:
siehste ;)
dirkv99 wrote:
/etc/postfix/sasl/smtpd.conf
wie, und warum, hast du denn pwcheck in Postfix eingebunden?
(Besser wäre saslauth in Verbindung mit tls zu nehmen)
Re: mails kommen nicht mehr an
Posted: 2005-06-20 09:32
by dirkv99
sooo, da ich auch noch ein paar andere problemchen mit meinem server (woody) hatte, habe ich ihn einfach mal neu aufgesetzt.
mails kann ich jetzt wieder wunderbar empfangen und ich habe "nur" noch ein problem mit dem verschicken von außerhalb.
postconf -n
Code: Select all
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
inet_interfaces = all
mailbox_command = /usr/bin/procmail
mailbox_size_limit = 0
mydestination = xxxx.xxxxxxxxxxx.xxx, localhost
myhostname = xxxx.xxxxxxxxxxx.xxx
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
recipient_delimiter = +
relayhost =
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, check_relay_domains
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sender_login_maps = hash:/etc/postfix/confixx_virtualUsers
smtpd_sender_restrictions = reject_sender_login_mismatch
/etc/postfix/sasl/smtpd.conf
mail.log
Code: Select all
Jun 20 07:30:15 xxxx postfix/smtpd[521]: fatal: no SASL authentication mechanisms
Jun 20 07:30:16 xxxx postfix/master[400]: warning: process /usr/lib/postfix/smtpd pid 521 exit status 1
Jun 20 07:30:16 xxxx postfix/master[400]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
ich weiß, es ist immer noch pwcheck, aber es müsste auch so funktionieren. habe das ganze nach einem howto hier im forum aufgesetzt.
es wäre cool, wenn ihr mir noch einmal helfen könntet.
danke!
dirk
Re: mails kommen nicht mehr an
Posted: 2005-06-20 11:22
by adjustman
dirkv99 wrote:ich weiß, es ist immer noch pwcheck
ich weiss bloss noch, dass das bei mir nicht funktioniert hat.
Lad dir mal saslfinger runter und guck dir die Ausgabe an.
http://postfix.state-of-mind.de/patrick ... aslfinger/
Re: mails kommen nicht mehr an
Posted: 2005-06-20 12:16
by Joe User
Code: Select all
cat > /etc/postfix/sasl/smtpd.conf << "EOF"
pwcheck_method: saslauthd
mech_list: PLAIN LOGIN
EOF
Re: mails kommen nicht mehr an
Posted: 2005-06-20 12:55
by adjustman
Joe User wrote:Code: Select all
cat > /etc/postfix/sasl/smtpd.conf << "EOF"
pwcheck_method: saslauthd
so mein ich es. Aber dazu muss ja saslauthd als Daemon laufen
Re: mails kommen nicht mehr an
Posted: 2005-06-21 07:50
by dirkv99
das habe ich soweit umgesetzt. ein blick in die loggs sagt noch immer folgendes:
Code: Select all
Jun 21 07:39:41 xxxx postfix/smtpd[3967]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Jun 21 07:39:41 xxxx postfix/smtpd[3967]: warning: pxxxxxxxx.dip0.t-ipconnect.de[xx.xxx.xxx.xx]: SASL LOGIN authentication failed
saslauthd läuft als daemon. eine idee?
Re: mails kommen nicht mehr an
Posted: 2005-06-21 14:35
by adjustman
dirkv99 wrote:saslauthd läuft als daemon
sicher? was sagt ps ax | grep saslauthd ?
Re: mails kommen nicht mehr an
Posted: 2005-06-21 21:11
by dirkv99
folgendes:
2964 ? S 0:00 /usr/sbin/saslauthd -a pam
2965 ? S 0:00 /usr/sbin/saslauthd -a pam
2966 ? S 0:00 /usr/sbin/saslauthd -a pam
2967 ? S 0:00 /usr/sbin/saslauthd -a pam
2968 ? S 0:00 /usr/sbin/saslauthd -a pam
3962 ? S 0:00 /usr/sbin/saslauthd -a pam
3963 ? S 0:00 /usr/sbin/saslauthd -a pam
3964 ? S 0:00 /usr/sbin/saslauthd -a pam
3965 ? S 0:00 /usr/sbin/saslauthd -a pam
3966 ? S 0:00 /usr/sbin/saslauthd -a pam
7600 ttyp0 S 0:00 grep saslauthd