Hi, I test this and work ok!, my server run with relay of internet
what can I do for apply this filter only with address external
I try to make this but doesn't work
I try this
sub filter_begin {
        # Why doesn't work this "if"
        if ($RelayAddr ne "192.198.100.10"){ 
         #  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