[Mimedefang] filter_sender block multiple address

Ricardson Williams ricardsonwilliams at gmail.com
Fri Apr 25 11:33:11 EDT 2014


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; spammer at badguy.com is blacklisted.’);
            }
            return (’CONTINUE’, "ok");

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


   }


-- 
[],
Ricardson Williams



More information about the MIMEDefang mailing list