[Mimedefang] Blocking Certain E-Mail Addresses

Dirk Mueller dmuell at gmx.net
Sat Oct 26 13:03:00 EDT 2002


On Sam, 26 Okt 2002, Jeff Grossman wrote:

> >   return (0, 'my favourite insultment for the spammer')
> >     if ($sender =~ /^<?foo\d+\@microsoft.com>?$/);
> Thanks for the help.  I hope you don't mind if I ask a couple of
> questions.  First, will the above, entered as is, reject the message?

it will make sendmail stop with a 5xx code and the above message directly 
after the rcpt to: line. 

> If not, what do I need to put in the reject the message?  Secondly, can
> you explain all of the parts of the second line?  What does everything
> mean and why did you choose to do it that way?

this is a simple perl regular expression. 

man perlre

will tell you everything you want to know. 


-- 
Dirk (received 386 mails today)



More information about the MIMEDefang mailing list