PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : fetchmail



tucky
29.11.01, 01:20
Hallo Zusammen!

Seit meinem Update auf Suse-7.3 hab ich Probleme mit fetchmail.
Es läuft zwar, aber holt mir jedes mal pro Server nur eine Mail ab.
Die anderen makiert es mit der Ausgabe:

reading message 2 of 3 (1260 octets) .fetchmail: SMTP error: 451 4.7.1 Please try again later
not flushed
reading message 3 of 3 (1260 octets) .fetchmail: SMTP error: 451 4.7.1 Please try again later
not flushed
4 messages for michael.tussing at pop3.web.de (2660 octets).
reading message 1 of 4 (665 octets) flushed
reading message 2 of 4 (665 octets) fetchmail: SMTP error: 451 4.7.1 Please try again later

Hat da jemand von Euch einen Tip. Ich weiß nicht mehr weiter.
Vielen Dank im Voraus.

Michael

PigPen|tuX
29.11.01, 10:43
Hallo

das Problem hatte ich auch mal,

der Grund dafür war ein Ausfall auf Seiten von web.de

das Problem tritt komischerweise nach deren Aussagen nur bei Abfragen auf, die durch Linux-Clients bzw Servern mit Fetchmail ausgeführt werden.

ich dachte damals auch an ein linux-server problem,

aber damit war alles in ordnung.

Ich denke mal du hast an deinen Einstellungen nichts geändert und vorher klappte es ohne Probleme.

Zum Test würde ich dir vorschlagen, ändere doch mal dein fetchmailrc ab, und frage einen pop3-server eines anderen providers ab.

nexgo oder gmx

wenn es da funzt ist damit der fehler auf seiten von web.de


soweit ich weiss, haben die auch eine hotline von 8.00 - 18.00

dort muss man dann nach den linux-spezies fragen, 2 leute betreuen dort speziell diese web.de kunden :D

mfg.
thom

tucky
29.11.01, 15:16
Hallo Thom!

Nur allein bei web.de kann's nicht liegen, da das Problem ja auch bei freenet auftritt. Ich rufe die Mails von 3 Servern ab und hab auf allen Drei das Problem, daß jeweils nur die erste Mail geholt wird. Starte ich fetchmail dann nochmal holt es die nächste.
Trotzdem Danke.

Gruß Michael

Jaydee
30.11.01, 18:08
Hallo,

bisschen mehr Info wäre schon interessant.

Poste mal bitte was fetchmail -v ausspuckt.

Wie ist der Rechner konfiguriert?

Wie sieht Deine .fetchmailrc aus?

Gruß

tucky
30.11.01, 22:15
Hallo Alex!

Hier mal die Ausgabe von fetchmail -v

micha@fips:~ > fetchmail -v
fetchmail: 5.9.0 querying pop3.freenet.de (protocol POP3) at Fre 30 Nov 2001 22:08:51 CET
fetchmail: POP3< +OK <779.1007154507@pop3.freenet.de>
fetchmail: POP3> CAPA
fetchmail: POP3< +OK
fetchmail: POP3< EXPIRE NEVER
fetchmail: POP3< TOP
fetchmail: POP3< UIDL
fetchmail: POP3< USER
fetchmail: POP3< XAUTHLIST
fetchmail: POP3< XSENDER
fetchmail: POP3< .
fetchmail: POP3> USER michael.tussing
fetchmail: POP3< +OK user ok
fetchmail: POP3> PASS *
fetchmail: POP3< +OK 4 messages (5032 octets).
fetchmail: POP3> STAT
fetchmail: POP3< +OK 4 5032
fetchmail: POP3> LAST
fetchmail: POP3< +OK 0
4 messages for michael.tussing at pop3.freenet.de (5032 octets).
fetchmail: POP3> LIST
fetchmail: POP3< +OK
fetchmail: POP3< 1 1258
fetchmail: POP3< 2 1258
fetchmail: POP3< 3 1258
fetchmail: POP3< 4 1258
fetchmail: POP3< .
fetchmail: POP3> TOP 1 99999999
fetchmail: POP3< +OK 1258 octets
reading message 1 of 4 (1258 octets)
fetchmail: SMTP< 220 fips.schneckenhofen.de ESMTP Sendmail 8.11.6/8.11.6/SuSE Linux 0.5; Fri, 30 Nov 2001 22:08:57 +0100
fetchmail: SMTP> EHLO localhost
fetchmail: SMTP< 250-fips.schneckenhofen.de Hello localhost [127.0.0.1], pleased to meet you
fetchmail: SMTP< 250-ENHANCEDSTATUSCODES
fetchmail: SMTP< 250-8BITMIME
fetchmail: SMTP< 250-SIZE
fetchmail: SMTP< 250-DSN
fetchmail: SMTP< 250-ONEX
fetchmail: SMTP< 250-ETRN
fetchmail: SMTP< 250-XUSR
fetchmail: SMTP< 250 HELP
fetchmail: SMTP> MAIL FROM:<Michael.Tussing@web.de> BODY=8BITMIME SIZE=1258
fetchmail: SMTP< 250 2.1.0 <Michael.Tussing@web.de>... Sender ok
fetchmail: SMTP> RCPT TO:<micha@localhost>
fetchmail: SMTP< 250 2.1.5 <micha@localhost>... Recipient ok
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 Enter mail, end with "." on a line by itself
#********fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 2.0.0 fAUL8v605000 Message accepted for delivery
flushed
fetchmail: POP3> DELE 1
fetchmail: POP3< +OK
fetchmail: POP3> TOP 2 99999999
fetchmail: POP3< +OK 1258 octets
reading message 2 of 4 (1258 octets)
fetchmail: SMTP> MAIL FROM:<Michael.Tussing@web.de> BODY=8BITMIME SIZE=1258
fetchmail: SMTP< 250 2.1.0 <Michael.Tussing@web.de>... Sender ok
fetchmail: SMTP> RCPT TO:<micha@localhost>
fetchmail: SMTP< 250 2.1.5 <micha@localhost>... Recipient ok
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 Enter mail, end with "." on a line by itself
#********fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 451 4.7.1 Please try again later
fetchmail: SMTP error: 451 4.7.1 Please try again later
fetchmail: SMTP> RSET
fetchmail: SMTP< 250 2.0.0 Reset state
not flushed
fetchmail: POP3> TOP 3 99999999
fetchmail: POP3< +OK 1258 octets
reading message 3 of 4 (1258 octets)
fetchmail: SMTP> MAIL FROM:<Michael.Tussing@web.de> BODY=8BITMIME SIZE=1258
fetchmail: SMTP< 250 2.1.0 <Michael.Tussing@web.de>... Sender ok
fetchmail: SMTP> RCPT TO:<micha@localhost>
fetchmail: SMTP< 250 2.1.5 <micha@localhost>... Recipient ok
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 Enter mail, end with "." on a line by itself
#********fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 451 4.7.1 Please try again later
fetchmail: SMTP error: 451 4.7.1 Please try again later
fetchmail: SMTP> RSET
fetchmail: SMTP< 250 2.0.0 Reset state
not flushed
fetchmail: POP3> TOP 4 99999999
fetchmail: POP3< +OK 1258 octets
reading message 4 of 4 (1258 octets)
fetchmail: SMTP> MAIL FROM:<Michael.Tussing@web.de> BODY=8BITMIME SIZE=1258
fetchmail: SMTP< 250 2.1.0 <Michael.Tussing@web.de>... Sender ok
fetchmail: SMTP> RCPT TO:<micha@localhost>
fetchmail: SMTP< 250 2.1.5 <micha@localhost>... Recipient ok
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 Enter mail, end with "." on a line by itself
#********fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 451 4.7.1 Please try again later
fetchmail: SMTP error: 451 4.7.1 Please try again later
fetchmail: SMTP> RSET
fetchmail: SMTP< 250 2.0.0 Reset state
not flushed
fetchmail: POP3> QUIT
fetchmail: POP3< +OK
fetchmail: 5.9.0 querying pop3.web.de (protocol POP3) at Fre 30 Nov 2001 22:09:03 CET
fetchmail: POP3< +OK WEB.DE POP3-Server
fetchmail: POP3> USER michael.tussing
fetchmail: POP3< +OK Bitte Kennwort eingeben/enter password
fetchmail: POP3> PASS *
fetchmail: POP3< +OK Postfach bereit/mailbox locked and ready
fetchmail: POP3> STAT
fetchmail: POP3< +OK 3 1989
fetchmail: POP3> LAST
fetchmail: POP3< -ERR Unbekanntes Kommando/unknown command
fetchmail: Unbekanntes Kommando/unknown command
fetchmail: POP3> UIDL
fetchmail: POP3< +OK UID-Liste folgt/unique-id listing follows
fetchmail: POP3< 1 73135262
fetchmail: POP3< 2 73135279
fetchmail: POP3< 3 73135289
fetchmail: POP3< .
3 messages for michael.tussing at pop3.web.de (1989 octets).
fetchmail: POP3> LIST
fetchmail: POP3< +OK
fetchmail: POP3< 1 663
fetchmail: POP3< 2 663
fetchmail: POP3< 3 663
fetchmail: POP3< .
fetchmail: POP3> TOP 1 99999999
fetchmail: POP3< +OK Nachricht folgt/message follows
reading message 1 of 3 (663 octets)
fetchmail: SMTP< 220 fips.schneckenhofen.de ESMTP Sendmail 8.11.6/8.11.6/SuSE Linux 0.5; Fri, 30 Nov 2001 22:09:08 +0100
fetchmail: SMTP> EHLO localhost
fetchmail: SMTP< 250-fips.schneckenhofen.de Hello localhost [127.0.0.1], pleased to meet you
fetchmail: SMTP< 250-ENHANCEDSTATUSCODES
fetchmail: SMTP< 250-8BITMIME
fetchmail: SMTP< 250-SIZE
fetchmail: SMTP< 250-DSN
fetchmail: SMTP< 250-ONEX
fetchmail: SMTP< 250-ETRN
fetchmail: SMTP< 250-XUSR
fetchmail: SMTP< 250 HELP
fetchmail: SMTP> MAIL FROM:<Michael.Tussing@web.de> BODY=8BITMIME SIZE=663
fetchmail: SMTP< 250 2.1.0 <Michael.Tussing@web.de>... Sender ok
fetchmail: SMTP> RCPT TO:<micha@localhost>
fetchmail: SMTP< 250 2.1.5 <micha@localhost>... Recipient ok
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 Enter mail, end with "." on a line by itself
#*******fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 2.0.0 fAUL98605016 Message accepted for delivery
flushed
fetchmail: POP3> DELE 1
fetchmail: POP3< +OK Nachricht wurde geloescht/message deleted
fetchmail: POP3> TOP 2 99999999
fetchmail: POP3< +OK Nachricht folgt/message follows
reading message 2 of 3 (663 octets)
fetchmail: SMTP> MAIL FROM:<Michael.Tussing@web.de> BODY=8BITMIME SIZE=663
fetchmail: SMTP< 250 2.1.0 <Michael.Tussing@web.de>... Sender ok
fetchmail: SMTP> RCPT TO:<micha@localhost>
fetchmail: SMTP< 250 2.1.5 <micha@localhost>... Recipient ok
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 Enter mail, end with "." on a line by itself
#*******fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 451 4.7.1 Please try again later
fetchmail: SMTP error: 451 4.7.1 Please try again later
fetchmail: SMTP> RSET
fetchmail: SMTP< 250 2.0.0 Reset state
not flushed
fetchmail: POP3> TOP 3 99999999
fetchmail: POP3< +OK Nachricht folgt/message follows
reading message 3 of 3 (663 octets)
fetchmail: SMTP> MAIL FROM:<Michael.Tussing@web.de> BODY=8BITMIME SIZE=663
fetchmail: SMTP< 250 2.1.0 <Michael.Tussing@web.de>... Sender ok
fetchmail: SMTP> RCPT TO:<micha@localhost>
fetchmail: SMTP< 250 2.1.5 <micha@localhost>... Recipient ok
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 Enter mail, end with "." on a line by itself
#*******fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 451 4.7.1 Please try again later
fetchmail: SMTP error: 451 4.7.1 Please try again later
fetchmail: SMTP> RSET
fetchmail: SMTP< 250 2.0.0 Reset state
not flushed
fetchmail: POP3> QUIT
fetchmail: POP3< +OK
fetchmail: 5.9.0 querying pop3.web.de (protocol POP3) at Fre 30 Nov 2001 22:09:11 CET
fetchmail: POP3< +OK WEB.DE POP3-Server
fetchmail: POP3> USER claudia.lietz
fetchmail: POP3< +OK Bitte Kennwort eingeben/enter password
fetchmail: POP3> PASS *
fetchmail: POP3< +OK Postfach bereit/mailbox locked and ready
fetchmail: POP3> STAT
fetchmail: POP3< +OK 0 0
fetchmail: No mail for claudia.lietz at pop3.web.de
fetchmail: POP3> QUIT
fetchmail: POP3< +OK
fetchmail: 5.9.0 querying pop.claranet.de (protocol POP3) at Fre 30 Nov 2001 22:09:15 CET
fetchmail: POP3< +OK CPOP v2.4 Ready for Action
fetchmail: POP3> USER michaeltussing
fetchmail: POP3< +OK
fetchmail: POP3> PASS *
fetchmail: POP3< +OK
fetchmail: POP3> STAT
fetchmail: POP3< +OK 0 0
fetchmail: No mail for michaeltussing at pop.claranet.de
fetchmail: POP3> QUIT
fetchmail: POP3< +OK Take it EZ
fetchmail: SMTP> QUIT
fetchmail: SMTP< 221 2.0.0 fips.schneckenhofen.de closing connection
fetchmail: SMTP> QUIT
fetchmail: SMTP< 221 2.0.0 fips.schneckenhofen.de closing connection
fetchmail: normal termination, status 0

Ich hoffe du findest den Fehler.
Ansonsten weiß ich nicht was ich dir noch mitteilen kann. Meine fetchmailrc müßte korekt sein.
Sind die sendmail-Configs von Bedeutung für fetchmail?

Gruß Michael

Jaydee
01.12.01, 14:36
Hallo,

das scheint tatsächlich an der Gegenstelle zu liegen.

Villeicht ist aber auch ein Mail "kaputt" und kann deswegen nicht richtig abgeholt werden.

Am besten löscht Du mal alle Deine Mails am Freenet Server. Dann machst Du nochmal fetchmail -v und schaust ob Fehler erkannbar sind.

Wenn nicht, schicke Dir selbst eine und rufe dann wieder mit fetchmail -a ab.

Melde Dich hier wieder.


Gruß

tucky
01.12.01, 21:40
Hallo Zusammen!

Ich bin jetzt ein Stück weiter gekommen.
Und zwar hab ich einfach wärend fetchmail lief sendmail gekillt.
Hier die Ausgabe von fetchmail -a

micha@fips:~ > fetchmail -a
3 messages for michael.tussing at pop3.freenet.de (4890 octets).
reading message 1 of 3 (1630 octets) .fetchmail: SMTP connect to localhost failed
fetchmail: can't raise the listener; falling back to /usr/sbin/sendmail %T flushed
reading message 2 of 3 (1630 octets) . flushed
reading message 3 of 3 (1630 octets) . flushed
5 messages for michael.tussing at pop3.web.de (17656 octets).
reading message 1 of 5 (13544 octets) fetchmail: SMTP connect to localhost failed
fetchmail: can't raise the listener; falling back to /usr/sbin/sendmail %T............. flushed
reading message 2 of 5 (1028 octets) . flushed
reading message 3 of 5 (1028 octets) . flushed
reading message 4 of 5 (1028 octets) . flushed
reading message 5 of 5 (1028 octets) . flushed
fetchmail: No mail for claudia.lietz at pop3.web.de
4 messages for michaeltussing at pop.claranet.de (5636 octets).
reading message 1 of 4 (1409 octets) .fetchmail: SMTP connect to localhost failed
fetchmail: can't raise the listener; falling back to /usr/sbin/sendmail %T flushed
reading message 2 of 4 (1409 octets) . flushed
reading message 3 of 4 (1409 octets) . flushed
reading message 4 of 4 (1409 octets) . flushed
You have new mail in /var/mail/micha

Vor dem sendmail-kill blieb fetchmail hängen, lief dann aber weiter, holte alle Mails ab und lieferte sie ordnungsgemäß bei user micha ab.
Also liegt das Problem bei Sendmail. Aber wo?
Soll ich vielleicht mal meine sendmailrc schicken oder hat jemand schon vorab eine Idee?
Danke im Voraus!

Gruß Michael

Jaydee
02.12.01, 14:47
Hallo,

mmmh.... das es an sendmail liegt fände ich seltsam.

Post doch mal Deine sendmail.cf

Vielleicht hilft das weiter.

Kanns Du Dir eigentliich selber ne Mail schicken ? Also per telnet localhost usw....

Probier mal telnet localhost 25 und poste was passiert. Normalerweise müsste sendmail Dich begrüßen.

Gruß

tucky
02.12.01, 21:50
Hallo!

Also ich hab jetzt festgestellt, daß sendmail als Dämon läuft und fetchmail auch ein sendmailprozeß startet. Dort entsteht wahrscheinlich dann der Konflikt. Also es funktioniert wenn ich sendmail als Dämon anstelle oder fetchmail direkt über procmail verteilen lasse, was dann allerdings amavis außer Kraft setzt.

Die Ausgabe von telnet localhost 25:

root@fips:/home/micha > telnet localhost 25
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
root@fips:/home/micha > exit
exit
micha@fips:~ > telnet localhost 25
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused

Ich hab meinen Rechner allerdings fips.schneckenhofen.de genannt. Ich denke mal das da irgenwo das Problem liegt. Also wir kommen der Sache schon näher.
Hier meine sendmail.rc.config

MASQUERADE_DOMAINS=""
SENDMAIL_ARGS="-bd -om"
SENDMAIL_EXPENSIVE="yes"
SENDMAIL_GENERICS_DOMAIN=""
SENDMAIL_LOCALHOST="fips.schneckenhofen.de"
SENDMAIL_NOCANONIFY="yes"
SENDMAIL_RELAY=""
SENDMAIL_SMARTHOST="mx.freenet.de"
SENDMAIL_DIALUP="no"
SENDMAIL_NODNS="no"
SENDMAIL_TYPE="yes"

Wahrscheinlich baut wieder mal Yast2 irgend einen Mist, wie schon so oft.

Gruß Michael

Jaydee
03.12.01, 10:37
Hallo,

wie das hier ausscieht, läuft sendmail einfach nicht!

Mach mal rcsendmail start und dann telnet localhost 25.

Poste was passiert.

Ach ja, nicht nur die sendmail.rc.config posten ,sonder unter /etc die sendmail.cf


Hoffe wir kommen so weiter.

Gruß

tucky
03.12.01, 20:16
Hallo!

Hab's so gemacht und das kam dabei raus.

root@fips:/home/micha > telnet localhost 25
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 fips.schneckenhofen.de ESMTP Sendmail 8.11.6/8.11.6/SuSE Linux 0.5; Mon, 3 Dec 2001 20:08:45 +0100

Die sendmail.cf hänge ich an.

Gruß Michael

Jaydee
03.12.01, 20:53
Hallo,

wie es scheint hattest Du einfach keinen MTA am laufen. Cemzufolge konnte fetchmail auch keine Mails zustellen....

Also, sendmail (in Deinem Fall) muss laufen.

Dann mach nochmal fetchmail -v und berichte was nun passiert.

Gruß

tucky
03.12.01, 23:14
Hallo Alex!

Also wenn sendmail als Dämon läuft funktioniert fetchmail nicht, weil es sendmail nochmal startet - warum weiß ich auch nicht - was wahrscheinlich zu einem Konflikt zwischen den beiden sendmail prozessen führt. Kille ich den sendmail-Dämon, geht's.
Es funktioniert auch wenn ich in fetchmail.rc einstelle, daß die Mail's direkt an procmail geleitet werden. Allerdings fällt in beiden Fällen der Virenscann von amavis-sendmail flach.

Meine Frage ist jetzt: Warum startet fetchmail nochmal einen sendmail-prozess obwohl doch der Dämon im Hintergrund läuft?

Gruß Michael

Jaydee
04.12.01, 17:37
Hallo,

normalerweise startet fetchmail sendmail NICHT !

Sendmail sollte nah Möglichkeit als Daemon starten.

Poste doch bitte mal Deine .fetchmailrc hier. Bitte nicht wieder als Attachment!

Gruß

tucky
04.12.01, 20:39
Hallo Alex!

Hier mal mein fetchmailrc. Die sendmailrc mußte ich als Anhang schicken weil sie zu groß war.

poll pop3.freenet.de proto pop3 user michael.tussing pass meinpwd to micha
poll pop3.web.de proto pop3 user michael.tussing pass meinpwd to micha
poll pop3.web.de proto pop3 user claudia.lietz pass meinpwd to micha
poll pop.claranet.de proto pop3 user michaeltussing pass meinpwd to micha

Denke aber nicht, daß es daran liegt. Ich nehme eher an, daß es was mit meiner Einstellung des Rechnernamens zu tun hat.
Habe einfach mit yast meinen Rechner fips.schneckenhofen.de genannt und hab keine Ahnung in wie weit das noch irgenwo anders als in der sendmailrc.config eingetragen werden muß.
Sendmail läuft normalerweise als Dämon. Wenn ich fetchmail -a oder -v ausführe startet es nochmals sendmail. Vielleicht kann es mit dem sendmail-Dämon nichts anfangen. Warum weiß ich aber nicht.
Hab bei dieser fetchmail.rc den sendmail Dämon abgestellt, damit sie funktioniert.
Kann aber auch mit mda "/usr/bin/procmail -d micha" die Mails direkt an procmail senden und umgehe so sendmail.
Gibt' noch andere Möglichkeiten?

Gruß Michael

Jaydee
05.12.01, 16:20
Hallo,

steht in Deiner sendmail.cf beim Eintrag "Cw" auch "localhost dahinter ?

Dorthin will nämlich fetchmail bzw procmail Deine Mails liefern.

Post doch mal den oberen Auszug Deiner sendmail.cf.

Also etwa 50 Zeilen .

Gruß

tucky
15.12.01, 22:07
Sorry, daß ich mich so lange nicht gemeldet habe. Hatte viel zu tun.

Hab das Problem auch gelöst. Es lag wahrscheinlich an amavis-sendmail. Scanne jetzt mit avmailgate und habe den Sendmail-Dämon abgestellt. Es funktioniert jetzt.

Vielen Dank noch.
Bis dann.
Michael