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

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Arkadiusz Miśkiewicz
Datum:  
To: exim-users
Betreff: Re: [exim] exim maildirsize quota calculation in the face of symlinks
On 10.02.2022 13:06, Jasen Betts via Exim-users wrote:
> On 2022-02-10, Maarten van Baarsel via Exim-users <exim-users@???> wrote:
>> Currently, I'm also using a plugin in dovecot:
>>
>> https://wiki.dovecot.org/Plugins/MailboxAlias
>>
>> However, this plugin solves the alias problem with a symlink in the
>> Maildir directory, which makes Exim count the mails twice when the
>> appendfile transport is calculating quota sizes.
>
> Have you considered using OS-provided per-user disk quotas instead?
>
> https://www.linux.com/training-tutorials/step-step-using-user-quotas-linux/
>
> this is just an idea, I don't know how well dovecot and exim interact with
> quota.
>


Just a note. dovecot is not ready to handle filesystem quotas if control
files are also under that quota. It just breaks in various ways
(reported on dovecot mailing list).

Workaround is to keep control files outside quota enabled filesystem...
but that's only a workaround.

--
Arkadiusz Miśkiewicz, arekm / ( maven.pl | pld-linux.org )