[Dovecot] Fileoperations in Maildir – problematic or okay?

Oli Schacher dovecot at lists.wgwh.ch
Mon Aug 5 12:21:02 EEST 2013


On Mon, 5 Aug 2013 09:36:44 +0200 (CEST)
"Martin Burgraf" <martin.bg at web.de> wrote:

> find ~/.maildir/.Sub1.Start/cur -mtime +5 -exec mv {}
> ~/.maildir/.Sub1.Start.old/cur \; ?

instead of using find / mv you could use dovecot's 'doveadm' command to
search/move/expunge messages

see:
http://wiki2.dovecot.org/Tools/Doveadm
http://wiki2.dovecot.org/Tools/Doveadm/Move

-- 
message transmitted on 100% recycled electrons


More information about the dovecot mailing list