Re: [exim] Maximum Recipients

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Matt
Datum:  
To: exim-users
Betreff: 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