SMTP Limit with exception list

scalopus+

Verified User
Joined
Mar 16, 2008
Messages
10
Now, my system can send-rate-limit in global accounts with
/etc/virtual/limit which impact to all account in my system.

Are there anyway to make an exception list which can send with specific limit value?


Do I needs to put something to check_limits() in exim.pl?
 
Hello,

Yes, you can edit the exim.pl however you wish.

If you want an exception to the rule:

1) to exclude an account from having a limit, add that User to the function:
sub uid_exempt

2) another way to have an override for some domains is to change the function:
sub check_limits

and have the /etc/virtual/limit file first try a file like:
/etc/virtual/domain.com/limit
if it exists.. if not, then fall back to /etc/virtual/limit.

That way you can override it for a domain.
It would require some basic perl coding knowhow.

John
 
Back
Top