Re: [exim] Maximum Recipients

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Matt
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] Maximum Recipients
> > How do you limit the max recipients exim allows a message too have?
>
> Search the docs for max_rcpt (global setting), or for $rcpt_count and
> $recipients_count (which you can use in your RCPT ACL).


So will something like this work?

# Deny if excedes MAX_RCPT
deny message = More than MAX_RCPT recipients are not allowed!
        condition = ${if >{$rcpt_count}{MAX_RCPT}}


Will legitimate mass mailers know to retry with less recipients? Can
I limit this rule to only certain IP pools? I would really like to
apply it only to hosts I relay for. Such as a user of mine gets a
virus on there PC I want to limit the number of recipients they can
specify.

Matt