Re: [exim] Sending limit per day for Authenticated (LOGIN AU…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: exim-users
Date:  
À: exim-users
Sujet: Re: [exim] Sending limit per day for Authenticated (LOGIN AUTH) users
On 16/11/12 12:27, M2C wrote:

> Is there a way to limit outgoing emails for each authenticated user
> (LOGIN AUTH) in exim?. For example, 100 mails per day for User1 and
> 200 mails per day for User2.


Yes, you can use the ratelimit functionality as documented here:

http://www.exim.org/exim-html-current/doc/html/spec_html/ch42.html#SECTratelimiting

You can rate limit on $authenticated_sender. good places to do it
might be in the rcpt acl if you want to do it on a per recipient
basis, or in the predata acl if you want to do it on a per message basis.

- -- 
Mike Cardwell  https://grepular.com/     http://cardwellit.com/
OpenPGP Key    35BC AF1D 3AA2 1F84 3DC3  B0CF 70A5 F512 0018 461F
XMPP OTR Key   8924 B06A 7917 AAF3 DBB1  BF1B 295C 3C78 3EF1 46B4