[Dovecot] Idea: POP3 deletion as a flag

lst_hoe02 at kwsoft.de lst_hoe02 at kwsoft.de
Fri May 3 19:49:34 EEST 2013


Zitat von Timo Sirainen <tss at 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6144 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20130503/08991690/attachment.bin>


More information about the dovecot mailing list