Justin King (15/5/2002) thanks this worked found it in the archives
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
Regards
Julia McWhirter
IT Manager
SuperH (UK) Ltd
First Floor
Network House
2410 Aztec West
Almondbury
Bristol
BS32 4QX
Tel : 01454 465600
Tel (Direct) : 01454 465661
Tel (Mobile) : 07979 913494
Fax : 01454 465601
Email : [EMAIL PROTECTED]
www : www.superh.com
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
McWhirter,Julia
Sent: 19 February 2004 14:35
To: [EMAIL PROTECTED]
Subject: [Mimedefang] Calling Spamassassin on outgoing only
Has anyone successfully stopped spamassassin being called on outgoing
messages?
Regards
Julia McWhirter
IT Manager
SuperH (UK) Ltd
First Floor
Network House
2410 Aztec West
Almondbury
Bristol
BS32 4QX
Tel : 01454 465600
Tel (Direct) : 01454 465661
Tel (Mobile) : 07979 913494
Fax : 01454 465601
Email : [EMAIL PROTECTED]
www : www.superh.com
_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang