[Mimedefang] excluding sender/subject from spam check

Douglas, Jason jdouglas at municipality.clarington.on.ca
Thu Jan 8 17:02:02 EST 2004


Thanks Bryan, your code below worked great, thanks also for the quick
response.


Jason
 

-----Original Message-----
From: Bryan Stansell [mailto:bryan at stansell.org] 
Sent: January 8, 2004 4:45 PM
To: mimedefang at lists.roaringpenguin.com
Subject: Re: [Mimedefang] excluding sender/subject from spam check

if ( !( $Sender eq '<somebody at domain.com>' &&
       $Subject eq 'This is the subject line' ) &&
     !( $Sender eq '<somebodyelse at anotherdomain.com>' &&
       $Subject eq 'Somebodyelses Subject Line' ) ) {
   # do spamassassin filtering
}

Bryan



More information about the MIMEDefang mailing list