[Mimedefang] Only scanning incoming messages?
Justin King
justin at othius.com
Wed May 15 18:25:35 EDT 2002
I define globally
$LocalRelayAddrs{"10.1.2.3"} = 1;
$LocalRelayAddrs{"10.1.2.4"} = 1;
$LocalRelayAddrs{"10.1.2.5"} = 1;
then have
sub filter_begin {
...
#New spam check, let's us record hitcount and optionally the report
if ((-s "./INPUTMSG") <= (100 * 1024) and $Features{"SpamAssassin"} and
!(exists $LocalRelayAddrs{$RelayAddr})) {
...
}
}
It would probably be better to use an array and grep, but this way popped
into my head first.
-Justin
----- Original Message -----
From: "Matt A. Gargett" <MGargett at comshare.com>
To: <mimedefang at lists.roaringpenguin.com>
Sent: Wednesday, May 15, 2002 4:22 PM
Subject: [Mimedefang] Only scanning incoming messages?
> Would there be a way to only scan incoming messages and not outgoing? I
> would think this would reduce the overhead on the server. I was more
> thinking of just not scanning messages for SPAM on the way out... If all
> your email addresses had a specific look (ie, NA.Something.com) could you
> exclude checking on those addresses? Is this a mimedefang thing or a SA
> thing?
>
> - Matt Gargett
> IT Support
> Comshare Incorporated
>
> _______________________________________________
> MIMEDefang mailing list
> MIMEDefang at lists.roaringpenguin.com
> http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
>
More information about the MIMEDefang
mailing list