OfflineIMAP/offlineimap

introduce a configuration option to define the internaldate used for APPEND

Open

#522 geöffnet am 6. Feb. 2018

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (373 Forks)batch import
featuregood first issueneed contributor!

Repository-Metriken

Stars
 (1.765 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Hello, I'm using Offlineimap, my mail provider is FastMail. Whenever I'm moving a file around locally (from one Maildir directory into another one) the mail is first being deleted on the server, and then uploaded again, so far so good. But when the mail is uploaded again the internaldate of the message get's changed to the current timestamp:

2018-02-06 13:28:26 DEBUG: [imap]: savemessage: date: "06-Feb-2018 13:27:33 +0100", […]

So in the end the mail shows on FastMail with the wrong date. Correct woud be the date which is set in the Date header of the mail. How can I configure Offlineimap to respect the Date header here?

Contributor Guide