Autor: Jasen Betts Data: Dla: exim-users Temat: Re: [exim] To prevent spamming from the server
On 2014-01-06, Er.shashank.singh <srinet1986raj@???> 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.