You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think is is nice to set more limits for emailaccounts to prevent SPAM. Now you can only set an hour limit. But for some accounts I would also like to set a daily limit and a recipient limit.
For exim4 you can do that with this line (I think):
recipients_max = 10
recipients_max_reject = true
and something like this to get two limits on sending mail:
acl_not_smtp:
deny message = Web site of $authenticated_id user is sending too much emails - rate overlimit = $sender_rate / $sender_rate_period
ratelimit = 20 / 1h / $authenticated_id
deny message = Web site of $authenticated_id user is sending too much emails - rate overlimit = $sender_rate / $sender_rate_period
ratelimit = 200 / 1d / $authenticated_id
I can help you with the PHP code for this feature, but my knowledge of Linux and Exim is limited
Would you like to sponsor this feature to have it implemented?
No
The text was updated successfully, but these errors were encountered:
I think when there is an section in the docs where this is explained and the instructions how to change this, it will be good for the most of us.
Because I think the amount of emails that the server may send is also dependent on the usage of the server.
You can already change the Exim config under server settings `/edit/server/exim4/'
Describe the feature or change in detail
I think is is nice to set more limits for emailaccounts to prevent SPAM. Now you can only set an hour limit. But for some accounts I would also like to set a daily limit and a recipient limit.
For exim4 you can do that with this line (I think):
recipients_max = 10
recipients_max_reject = true
and something like this to get two limits on sending mail:
acl_not_smtp:
deny message = Web site of $authenticated_id user is sending too much emails - rate overlimit = $sender_rate / $sender_rate_period
ratelimit = 20 / 1h / $authenticated_id
deny message = Web site of $authenticated_id user is sending too much emails - rate overlimit = $sender_rate / $sender_rate_period
ratelimit = 200 / 1d / $authenticated_id
I can help you with the PHP code for this feature, but my knowledge of Linux and Exim is limited
Would you like to sponsor this feature to have it implemented?
No
The text was updated successfully, but these errors were encountered: