On Sat, 2010-07-10 at 09:14 +0200, Martin Waschbuesch wrote:

> 1.) Is there any danger regarding  maildir consistency in directly moving 
> mail items about?

No. Assuming you use "mv" and not "cp" (and it's all in the same
filesystem) so that the move is atomic.

> 2.) Could I somehow use deliver to move the mails? I think I can recall that 
> other LDAs (maildrop?) allow for that? This would of course be preferred as 
> the maildir cache would also still be optimized after the operation.

"deliver -u user -m mailboxname" could be used to save new mails. Maybe
a save + delete would work too. I don't really think it's worth it.

> If anyone has any suggestions, I'd really appreciate this.

See the antispam plugin:
http://johannes.sipsolutions.net/Projects/dovecot-antispam


Reply via email to