[Dovecot] POP3 and mail retention

Gedalya gedalya at gedalya.net
Tue Mar 11 13:41:04 UTC 2014


On 03/11/2014 09:31 AM, Roman Gelfand wrote:
> Using outlook 2010 as mail client, I have noticed that once an email
> is moved from inbox, it is deleted from the cur/ directory on the
> server.  Is there a pop3 setting on dovecot that would keep emails,
See in conf.d/20-pop3.conf

# This option changes POP3 behavior so that it's not possible to actually
# delete mails via POP3, only hide them from future POP3 sessions. The mails
# will still be counted towards user's quota until actually deleted via IMAP.
# Use e.g. "$POP3Deleted" as the value (it will be visible as IMAP keyword).
# Make sure you can legally archive mails before enabling this setting.
#pop3_deleted_flag =


> with possible retention period,
no
>   and recognize that this email has been
> moved from inbox, etc..  If all of this is doable, would setting
> outlook to delete the email after 14 days work? delete email from the
> server when emptying deleted folder?
No. If you are not really deleting, you're not really deleting.

Maybe you can set up your own cron job to do a doveadm expunge on 
messages flagged with your pop3_deleted_flag, but I'm not sure about 
telling when that flag was set on a message.

>
> Thanks in advance



More information about the dovecot mailing list