Re: [exim] Verify recipient with mailbox quota at ACL time

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-users
Subject: Re: [exim] Verify recipient with mailbox quota at ACL time
On 01/05/2020 20:32, Yves Goergen via Exim-users wrote:
> So I need a Perl script that runs permanently in the background and
> opens a network socket that any local user can query to get information
> about mail quotas?


Either that or do a manual job in ACL coding that evaluates a
maildirsize file. It's pretty unpleasant, but can be done.

There's a long-standing enhancement request for this -
https://bugs.exim.org/show_bug.cgi?id=163
Obviously nobody has ever had the energy,

> I just need that calculation to run in a way that it's available at RCPT
> ACL time. I was hoping that the verify=recipient directive had some
> option for that, or so.


Nope. Recipient verify only goes as far as the routing, for local
deliveries, and the quota-calc knowlege is in the transport.


The other thing I do is set a DB flag for over-quota. Checking that
(along with everything else that is per-account) is simple in ACL.
--
Cheers,
Jeremy