Re: [exim] exim maildirsize quota calculation in the face of…

Etusivu
Poista viesti
Vastaa
Lähettäjä: Maarten van Baarsel
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] exim maildirsize quota calculation in the face of symlinks
Hi all,

On 10-02-2022 12:10:53, Jeremy Harris via Exim-users wrote:
> On 10/02/2022 10:55, Maarten van Baarsel via Exim-users wrote:


>> I was surprised by the symlink behaviour so I'm reconsidering the use of
>> the dovecot plugin, but I still wanted to ask whether this behaviour is
>> considered OK. I've read the appendfile docs and I could find anything
>> explicit about symlinks.
>
> The coding probably doesn't consider the possibility of multiple paths
> into a single directory, as afforded by the use of symlinks, at all.
> I've not checked, though.
>
> "OK" is in the eye of the beholder, naturally.
>
> Handling the case would likely be a feature-addition.  The fastest
> fix would be to not traverse symlinks, I suppose.


I'd like to say thanks for the replies, and ask for guidance how to put
this on the feature-addition-list so that it won't be forgotten, I did
find the problem Cyborg was alluding to in a post from a while ago :)

I had a quick look at the code but did not see a fast path to a fix.

Maarten.