Re: [exim] Exim quota and getting space used value out

Pàgina inicial
Delete this message
Reply to this message
Autor: Nicola Tiling
Data:  
A: exim-users
Assumptes vells: Re: [exim] Exim quota and getting space used value out
Assumpte: Re: [exim] Exim quota and getting space used value out
>> user has used in all. I'm very interested in getting that value out
>> so I
>> can use it in exim to update a database with current space used for
>> that
>> particular user.
>
> Exim does the quota calculations after it has dropped privilege, so
> there
> isn't much you can do at that point. In order for you to be able to do
> something with the quota usage value, the transport process would
> have to
> communicate the value up to its parent process, and there would have
> to be
> a post-delivery expansion string hook or something like that. I'm
> not sure
> the added complexity is worth it.


If I'm able to get the value I can use it certainly not for the
current mail, but I can write it to a database and make something with
it for the next mails. It would be nice if exim exposes the value of
mailbox size.