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

Top Page
Delete this message
Reply to this message
Author: Yves Goergen
Date:  
To: Jeremy Harris, exim-users
Subject: Re: [exim] Verify recipient with mailbox quota at ACL time
Okay, so basically Exim's quota support is complete garbage because it's
just not practical.

Instead, I should better do it all myself. By an external service that
determines the mailbox size and stores the result in the database along
with the other per-account data. This can then easily be checked at SMTP
time. The external service updates that database flag regularly (to
unlock soon after the user has deleted messages), and also after a new
message was written to the mailbox (to lock it quickly and not go too
far over quota).


-------- Ursprüngliche Nachricht --------
Von: Jeremy Harris via Exim-users <exim-users@???>
Gesendet: Freitag, 1. Mai 2020, 22:06 MESZ
Betreff: [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.