[Mimedefang] Strange Error in MD 2.24

Matt A. Gargett MGargett at comshare.com
Fri Nov 8 15:14:01 EST 2002


-----Original Message-----
From: David F. Skoll [mailto:dfs at roaringpenguin.com] 

>Well, a deeper question is why you scan that kind of outbound mail? Wouldn't
it be more efficient not to even
>have MIMEDefang look at those outbound messages?

I already have an exception for not spamassassin scanning this mail.  Where
would I add in my mimedefang-filter for not scanning mail at all coming from
a specific relay host?

Snip of mimedefang-filter:

sub filter_begin () {
    ...
    $LocalRelayAddrs{"130.211.1.216"} = 1;
    $LocalRelayAddrs{"130.211.50.3"} = 1;
    $LocalRelayAddrs{"127.0.0.1"} = 1;
    ...
}

sub filter_end ($) {
	...
	if ((-s "./INPUTMSG" < 100*1024) and !(exists
$LocalRelayAddrs{$RelayAddr})) {
	...
}

Something like exists $LocalRelayAddrs{130.211.50.3} { return
action_accept();} in the filter_begin?

TIA --

- Matt




More information about the MIMEDefang mailing list