[Dovecot] maildir_copy_with_hardlinks on v.2.0.19

Timo Sirainen tss at iki.fi
Tue Jul 31 21:42:55 EEST 2012


On 30.7.2012, at 13.36, mailing list subscriber wrote:

>>> userdb {
>>> driver = passwd
>>> }
>> 
>> Looks like you're using system users. Each mail then needs to be written using different permissions, so hard linking can't work.
>> 
> 
> I am afraid this is incorrect:

The code that determines if Dovecot even attempts to use hard links is in:

http://hg.dovecot.org/dovecot-2.1/file/f74557336910/src/lib-storage/mail-copy.c#l101

So you could make it work if you chmod 0770 all of your maildir directories and chgrp them to the same group.




More information about the dovecot mailing list