[Dovecot] doveadm expunge -A mailbox Trash savedbefore 30d

Timo Sirainen tss at iki.fi
Tue Aug 31 21:50:30 EEST 2010


On Mon, 2010-08-30 at 12:31 -0400, Jerrale G wrote:
> 
> 
> Timo or another admin needs to add this in the wiki. I know it is in the 
> example sql config file, which is where I got it 
> (/usr/share/doc/dovecot/example/dovecot-sql.conf.ext) but it is more 
> convenient in the wiki.

Well, the doveadm pages in wiki do mention it in -A parameter. I added
it now to http://wiki2.dovecot.org/AuthDatabase/SQL and added note/links
to http://wiki2.dovecot.org/Plugins/Expire

> I also added the same maildir parameters from the user_query in case the 
> iterate_query needed to know where the maildir is:
> CONCAT('/home/mail/', mailboxes.domain, '/', mailboxes.username, 
> '/mail/') AS maildir

That's not necessary. It does a userdb lookup for each user anyway.



More information about the dovecot mailing list