[Mimedefang] search word

CONTRERAS, Pablo pcontreras at ecogas.com.ar
Fri Sep 3 08:44:03 EDT 2004


Hi!
I need to redirect all mail sent from addresses(in user name or domain) 
which contain some of this words for i.e. "garca", the problem is we are
receive messages anonymous which offensive words, and search this word
if is possible in the body too, 

sub filter_end {
if ($Sender =  =~ /^<?garca\>?$/i ) {
	redirect the message?
}
this is correct?

The filter of down run ok!, thanks!  Kevin, Jim and Stephen

I apply this rule for diminish incident

 sub filter_begin {

 if ($RelayAddr ne '192.198.100.10'){ 
          if (scalar(@Recipients > 5)) {
            return action_bounce("Too many recipients, message refused")
          }
        }
 }




More information about the MIMEDefang mailing list