Re: [exim] Max outgoing recipients

Top Page
Delete this message
Reply to this message
Author: Heiko Schlittermann
Date:  
To: exim-users
Subject: Re: [exim] Max outgoing recipients
Julio Feferman <jfeferman@???> (Sa 03 Feb 2007 16:04:27 CET):
> I am trying to do something very simple which is to limit the number
> of outgoing recipients in a single message, say to 30 max. In other
> words, when one of our clients tries to send a message to hundreds of
> recipients, he will get an error message saying something like max
> number of outgoing recipients is exceeded.


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...)


    Best regards from Dresden
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann HS12-RIPE -----------------------------------------
 gnupg encrypted messages are welcome - key ID: 48D0359B ---------------
 gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2  7E92 EE4E AC98 48D0 359B -