[Dovecot] maildir / deliver question

Martin Waschbuesch martin at waschbuesch.de
Mon Jul 12 12:13:38 EEST 2010


Thanks a lot for the answer and suggestions!

Martin

Am 11.07.2010 um 21:01 schrieb Timo Sirainen:

> 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
> 
> 


--
"If we don't believe in freedom of expression for people we despise, we don't believe in it at all. "

Noam Chomsky



More information about the dovecot mailing list