[Dovecot] Idea: POP3 deletion as a flag

Gedalya gedalya at gedalya.net
Fri May 3 19:22:14 EEST 2013


I can certainly see this being very useful in certain environments where 
asking the client to be responsible is not an option (ISP).
Whether or not the flag affects IMAP clients should be configurable.


On 05/03/2013 12:14 PM, Timo Sirainen wrote:
> 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.
>



More information about the dovecot mailing list