Re: [Exim] quota_warn_threshold specifics

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Dan Egli
Data:  
Para: Mark T. Valites
CC: exim-users
Assunto: Re: [Exim] quota_warn_threshold specifics
Mark T. Valites wrote:

> I've been trying to test out the quota_warn_threshold capability on a
> Maildir transport, but I haven't been able to get it to work yet.
>
> I'm starting to suspect that the 'quota' setting only considers the
> contents of the directory specified in the 'directory' setting, not the
> user's total disk usage on the file system of the 'directory' - can
> someone confirm this for me?


You're partially right. Exim cannot check the total space usage for a
user against their quota. Different file systems store quota information
differently, as do different O/S's. So what happens is that if you set a
MTA quota, it checks to see if in writing the current file the user's
quota would be exceeded. If you're not using a delivery agent (I've
heard some people mention agents like Cyrus or something, but I don't
know for sure), then the best way to do Quota issues is with a File
system Quota. If a FileSystem quota is not an option you need a 3rd
party delivery agent that can read the quota information and return it.
I once heard (I think it was on this list, but don't remember for sure)
of someone who had some kind of hack that allowed quota usage to work
correctly, but it was so long ago I don't recall for sure.


--
-- Dan