[Dovecot] remove messages once downloaded

Maarten Bezemer mcbdovecot at robuust.nl
Thu Mar 1 00:37:24 EET 2012


On Tue, 28 Feb 2012, Thomas Leuxner wrote:

> Am 28.02.2012 um 09:46 schrieb Thomas Leuxner:
>
>> Assuming this is the task you could also use:
>>
>> $ doveadm expunge -u jane.doe at example.org before 2012-02-01 unseen
>>
>> Play around with the scope a bit before you actually run it:
>>
>> $ doveadm search -u jane.doe at example.org before 2012-02-01 unseen | wc -l
>
> Of course this was supposed to read 'seen' :/

Maybe so, maybe not.
I've seen people with over 2GB of unread mail in their inbox alone. 
Subscribed to dozens of mailing lists, and just not reading 95% of all 
incoming email.

Don't know how pop handles 'leave on server' with regard to mail storage. 
Will messages loose their 'unseen' state when doing something like a
TOP msgnumber maxint
or something similar? Will messages loose their 'unseen' state when an 
RSET is issued after downloading?

If you don't want people to keep a lot of mail in popboxes, quota and 
sending out warning messages would be the better way to handle this, I 
think. Applying 'magic' to customer's email might not be seen as a very 
polite action.


Just my 2 cents..

-- 
Maarten



More information about the dovecot mailing list