Mario D'Amore <[email protected]> writes: [...]
> I just put the script on github, you are free to contribute : > https://github.com/kidpixo/pymimedetacher Thank you for sharing. I already submitted a pull request :-). [...] > In principle I would like to leave each mail in the same state it was, I > don't want to find a bunch of random unread. > But thinking about it, it make sense because I create a new mail message... > > Actually, this is the normal behaviour opening the mail with > > src_mbox = mailbox.Maildir('maildir-mbox', factory=mailbox.MaildirMessage) > > see [1]. > > I use to use "factory=None" exactly for this reason, see discussion here > [2] I tried changing the name of the processed email. OfflineImap still don't send it back to the server. I did not try putting it into the new folder though. -- Konubinix GPG Key : 7439106A Fingerprint: 5993 BE7A DA65 E2D9 06CE 5C36 75D2 3CED 7439 106A
signature.asc
Description: PGP signature
_______________________________________________ OfflineIMAP-project mailing list: [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project OfflineIMAP homepages: - https://github.com/OfflineIMAP - http://offlineimap.org
