[Mimedefang] Try to reject sender
    Ricardson Williams 
    ricardsonwilliams at gmail.com
       
    Wed Apr 23 14:21:30 EDT 2014
    
    
  
Hi all,
    I´m trying to block some spammers but my rule is not working....
Spammer Address: "www-data at test"@hotmail.com
Here is the rule.
sub filter_sender {
    my ($sender, $ip, $hostname, $helo) = @_;
    if ($sender =~ /^<?'"www-data at test"'\@hotmail\.com>?$/i) {
        return ('REJECT', "REJECT");
        }
        return ('CONTINUE', "ok");
        }
-- 
[],
Ricardson Williams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mimedefang.org/pipermail/mimedefang_lists.mimedefang.org/attachments/20140423/2a71c4a4/attachment-0002.html>
    
    
More information about the MIMEDefang
mailing list