Hi all,

 I´m trying now block multiple email address how to do? I already try
like below and not working


sub filter_sender {


           my ($sender, $ip, $hostname, $helo) = @_;

            if ($sender =~ /^<?spammer\@badguy\.com>?$/i) {
                 return (’REJECT’, ’Sorry; [email protected] is blacklisted.’);
            }
            return (’CONTINUE’, "ok");

             if ($sender =~ /^<?xxxxx\@xxxx\.com>?$/i) {
                 return (’REJECT’, ’Sorry; [email protected] is blacklisted.’);
            }
            return (’CONTINUE’, "ok");


   }


-- 
[],
Ricardson Williams
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to