On 2014-01-06, Er.shashank.singh <[email protected]> wrote:
> HI,
>
> This mail is sent by some users which mail id was got compromised. How can
> i restrict mail per user like not more than 5000 mail from the server in an
> hours and how can stop to send mail 100 mails from an mail id. But it can
> be more help full if i stop mails more than 500 from single subject in
> running queue.
You can do a ratelimit keyed on any expression in an ACL.
you could do a ratelimit on ${h_subject:} in the data ACL.
once stuff gets into the queue it's harder to corral
Some spams have recipients email address in the subject, and so
all have sifferent subjects.
I feel that the best approach is to only work on known values and to
ignore things that are unpredictable.
--
For a good time: install ntp
--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/