ubuntuusers.de

dovecot mit fetchmail: Unknown command: LAST

Status: Gelöst | Ubuntu-Version: Xubuntu 19.10 (Eoan Ermine)
Antworten |

glaskugel

Anmeldungsdatum:
8. Juli 2010

Beiträge: 3703

fetchmail 6.4.0~rc4-1ubuntu1
dovecot-pop3d 1:2.3.4.1-5ubuntu3

Ich führe folgenden Befehl aus:

$ fetchmail -v --keep --tracepolls  -f .test_fetchmailrc

und erhalte danach ein Warnmail mit der Fehlermeldung:

fetchmail: Unknown command: LAST 

Nach meinen Recherchen hängt das eher mit dem POP3-Server zusammen. Ich vermute auch, dass es mit "--keep" zusammenhängt. Am Haupt-PC habe ich die Meldung noch nie bekommen, da verwende ich kein "keep".

Gibt es da irgendeine Dovecot-Konfiguration diesbzgl? Ziel ist es auf 1 PC die Mails nicht endgültig abzufragen.

cat mail.log | grep -i last
[nichts]

mail.err hat 0B

glaskugel

(Themenstarter)

Anmeldungsdatum:
8. Juli 2010

Beiträge: 3703

Ein wenig schlauer bin ich schon, das dürfte bei mir nur in Verbindung mit Gandi-Servern passieren. Mit gmail passt es zB

poll mail.gandi.net with proto POP3
        user 'noreply@........com' there with password 'PW' is ec here options ssl sslcertck sslcertpath /etc/ssl/certs

In der Konstole sieht man dann:

fetchmail: 6.4.0.rc4 fragt mail.gandi.net ab (Protokoll POP3) um Mo 13 Jän 2020 00:08:13 CET: Abfrage gestartet
Versuche, mit 217.70.178.9/995 zu verbinden...verbunden.
fetchmail: Server-Zertifikat:
fetchmail: Herausgeber-Organisation: Gandi
fetchmail: Herausgeber-CommonName: Gandi Standard SSL CA 2
fetchmail: Subjekt-CommonName: mail.gandi.net
fetchmail: Subject Alternative Name: mail.gandi.net
fetchmail: Subject Alternative Name: www.mail.gandi.net
fetchmail: mail.gandi.net-Schlüssel-Fingerabdruck: F4:A3:38:E3:31:2E:03:A9:37:E6:9B:91:2A:FC:5C:53
fetchmail: SSL/TLS: Protokoll TLSv1.2, Chiffre ECDHE-RSA-AES128-GCM-SHA256, 128/128 geheime/verarbeitete bits
fetchmail: POP3< +OK Dovecot (Debian) ready.
fetchmail: POP3> CAPA
fetchmail: POP3< +OK
fetchmail: POP3< CAPA
fetchmail: POP3< TOP
fetchmail: POP3< UIDL
fetchmail: POP3< RESP-CODES
fetchmail: POP3< PIPELINING
fetchmail: POP3< AUTH-RESP-CODE
fetchmail: POP3< USER
fetchmail: POP3< SASL PLAIN
fetchmail: POP3< .
fetchmail: POP3> USER noreply@........com
fetchmail: POP3< +OK
fetchmail: POP3> PASS *
fetchmail: POP3< +OK Logged in.
fetchmail: POP3> STAT
fetchmail: POP3< +OK 1 4300
fetchmail: POP3> LAST
fetchmail: POP3< -ERR Unknown command: LAST
fetchmail: Unknown command: LAST
fetchmail: POP3> UIDL
fetchmail: POP3< +OK
fetchmail: POP3< 1 000006cf501ed0a6
fetchmail: POP3< .
1 Nachricht (1 gesehene) für noreply@........com bei mail.gandi.net (4300 octets).
fetchmail: POP3> QUIT
fetchmail: POP3< +OK Logging out.
fetchmail: 6.4.0.rc4 fragt ab mail.gandi.net (Protokoll POP3) um Mo 13 Jän 2020 00:08:14 CET: Abfrage beendet

Leider finde ich die Diskussion nicht mehr, aber angeblich soll irgendeine Einstellung bzgl. UIDL helfen.

glaskugel

(Themenstarter)

Anmeldungsdatum:
8. Juli 2010

Beiträge: 3703

Sieht so aus, dass ich das Problem lösen könnte. Hilfreich war https://debianforum.de/forum/viewtopic.php?t=165139

$ fetchmail -v --keep --uidl --tracepolls -f .test_fetchmailrc

fetchmail: 6.4.0.rc4 fragt mail.gandi.net ab (Protokoll POP3) um Mo 13 Jän 2020 11:07:10 CET: Abfrage gestartet
Versuche, mit 217.70.178.9/995 zu verbinden...verbunden.
fetchmail: Server-Zertifikat:
fetchmail: Herausgeber-Organisation: Gandi
fetchmail: Herausgeber-CommonName: Gandi Standard SSL CA 2
fetchmail: Subjekt-CommonName: mail.gandi.net
fetchmail: Subject Alternative Name: mail.gandi.net
fetchmail: Subject Alternative Name: www.mail.gandi.net
fetchmail: mail.gandi.net-Schlüssel-Fingerabdruck: F4:A3:38:E3:31:2E:03:A9:37:E6:9B:91:2A:FC:5C:53
fetchmail: SSL/TLS: Protokoll TLSv1.2, Chiffre ECDHE-RSA-AES128-GCM-SHA256, 128/128 geheime/verarbeitete bits
fetchmail: POP3< +OK Dovecot (Debian) ready.
fetchmail: POP3> CAPA
fetchmail: POP3< +OK
fetchmail: POP3< CAPA
fetchmail: POP3< TOP
fetchmail: POP3< UIDL
fetchmail: POP3< RESP-CODES
fetchmail: POP3< PIPELINING
fetchmail: POP3< AUTH-RESP-CODE
fetchmail: POP3< USER
fetchmail: POP3< SASL PLAIN
fetchmail: POP3< .
fetchmail: POP3> USER noreply@........com
fetchmail: POP3< +OK
fetchmail: POP3> PASS *
fetchmail: POP3< +OK Logged in.
fetchmail: POP3> STAT
fetchmail: POP3< +OK 2 10662
fetchmail: POP3> UIDL
fetchmail: POP3< +OK
fetchmail: POP3< 1 000006cf501ed0a6
fetchmail: POP3< 2 000006d0501ed0a6
fetchmail: POP3< .
2 Nachrichten (1 gesehene) für noreply@........com bei mail.gandi.net (10662 octets).
fetchmail: POP3> LIST 2
fetchmail: POP3< +OK 2 6362
fetchmail: POP3> TOP 2 99999999
fetchmail: POP3< +OK
Nachricht noreply@........com@mail.gandi.net:2 von 2 wird gelesen (6362 Bytes) 
Versuche, mit 127.0.0.1/25 zu verbinden...verbunden.
fetchmail: SMTP< 220 server.local........ ESMTP Postfix (Ubuntu)
fetchmail: SMTP> EHLO server.local........
fetchmail: SMTP< 250-server.local........
fetchmail: SMTP< 250-PIPELINING
fetchmail: SMTP< 250-SIZE
fetchmail: SMTP< 250-VRFY
fetchmail: SMTP< 250-ETRN
fetchmail: SMTP< 250-STARTTLS
fetchmail: SMTP< 250-ENHANCEDSTATUSCODES
fetchmail: SMTP< 250-8BITMIME
fetchmail: SMTP< 250-DSN
fetchmail: SMTP< 250-SMTPUTF8
fetchmail: SMTP< 250 CHUNKING
fetchmail: SMTP> MAIL FROM:<.......@.......> SIZE=6362
fetchmail: SMTP< 250 2.1.0 Ok
fetchmail: SMTP> RCPT TO:<ec@localhost>
fetchmail: SMTP< 250 2.1.5 Ok
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 End data with <CR><LF>.<CR><LF>
#*************.*************.*************.*************.****
fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 2.0.0 Ok: queued as 2F776C4FABEA
 nicht gelöscht
fetchmail: POP3> QUIT
fetchmail: POP3< +OK Logging out.
fetchmail: SMTP> QUIT
fetchmail: SMTP< 221 2.0.0 Bye
fetchmail: 6.4.0.rc4 fragt ab mail.gandi.net (Protokoll POP3) um Mo 13 Jän 2020 11:07:12 CET: Abfrage beendet
fetchmail: normale Beendigung, Status 0
Antworten |