> > 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
--
## List details at http://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/