3 May
2013
3 May
'13
7:49 p.m.
Zitat von Timo Sirainen <tss@iki.fi>:
GMail doesn't delete mails when POP3 client issues a DELE command
for it. Instead they just become invisible for future POP3 sessions,
but they still exist for IMAP/webmail. The same could be implemented
pretty easily for Dovecot:
- Add a new setting to enable this: pop3_deleted_flag = $POP3Deleted
- When DELEting a message, add this flag to the message.
- When listing messages, skip all messages that have this flag.
- Also hide this flag from IMAP clients(?)
Thoughts? Probably 20 lines of new code.
Hmm, this would lead to every increasing mailboxes for POP3 only
users. What about this
- Use some setting to express that POP3 deleted mail should be IMAP
mark-as-deleted - Skip messages marked as deleted with POP3, maybe even as default?
With this on IMAP access you clearly see what is going on. Also if you
delete Messages by IMAP they won't get downloaded by POP3. This would
also fit with mail providers doing an "IMAP" expunge/purge on a fixed
timebase.
More obvious IMHO
Regards
Andreas