[Dovecot] maildir / deliver question

Timo Sirainen tss at iki.fi
Sun Jul 11 22:01:56 EEST 2010

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:

More information about the dovecot mailing list