[Dovecot] Maildir hardlinks

Timo Sirainen tss at iki.fi
Tue Oct 16 03:12:14 EEST 2012


On 4.10.2012, at 16.00, Benedetto Vassallo wrote:

> All works fine, but with the new version it seems that dovecot don't do hardlinks when deliver a message to multiple users.

The hard linking is done only when the directory permissions match.

> mail_location = maildir:~/MailDir:LAYOUT=fs
> 
> I tryed using lmtp directly issuing 'telnet localhost 24' and sending a test message to 3 recipients.
> Then issuing a 'ls -il' in the "new" directory of that users, I saw the inode was not the same.

What are the permissions of the MailDir directory for user1/user2?

ls -ld /home/user1/MailDir
ls -ld /home/user2/MailDir




More information about the dovecot mailing list