Dovecot and hard links?

Timo Sirainen timo at sirainen.com
Sat Aug 17 19:14:37 EEST 2019


On 17 Aug 2019, at 1.57, @lbutlr via dovecot <dovecot at dovecot.org> wrote:
> 
> On 16 Aug 19, at 07:33 , @lbutlr <kremels at kreme.com> wrote:
>> I was looking at a mail folder and I noted that a file in the inbox had a total of 11 hard links to it:
> 
> Ack. I checked the junk folder and there are 379 files in there with 379 links!
> 
> Since they were all in jink I just deleted them all, but that cannot possibly be desired behavior.
> 
> What do I check here?

Hard links are created when a mail is copied with the IMAP COPY command. So Dovecot just does what the client asks it to do. Maybe you have some misbehaving IMAP client?



More information about the dovecot mailing list