On Sat, Feb 03, 2007 at 11:08:37PM +0100, Heiko Schlittermann wrote:
> A single message normally shouldn't have much more recipients if it
> leaves your system than it had when it came in.
> You may limit the number of recipients in the RCPT acl.
>
> MAX_RCPT = 7
>
> {deny|defer} message = More than MAX_RCPT recipients are not allowed!
> condition = ${if >{$rcpt_count}{MAX_RCPT}}
>
> (I'm not sure about deny OR defer. Probably it depends on how strict you
> want to be...)
Congratulations on violating a MUST in RFC2821. Doubly so for advising this
brokenness to others.
RFC2821 S4.5.3.1
| recipients buffer
| The minimum total number of recipients that must be buffered is
| 100 recipients. Rejection of messages (for excessive recipients)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| with fewer than 100 RCPT commands is a violation of this
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| specification. The general principle that relaying SMTP servers
^^^^^^^^^^^^^
Cheers
MBM
--
Matthew Byng-Maddick <mbm@???> http://colondot.net/
(Please use this address to reply)