On 31 Aug 2004, CONTRERAS, Pablo wrote:

> Hi, I want set mimedefang for max recipients with ingoing mail, when the
> number of recipients is more than 5, then mimedefang? reply with a
> message, for example: our server not admit more than 5 recipient,
> Is it posible?

   This should do it (untested!):

     sub filter_begin {
     #
     #  reject email with too many recipients
     #
       if (@Recipients > 5) {
         return action_bounce("Too many recipients, message refused")
       }
     }



_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to