[Mimedefang] Sendmail - Mimedefang - Spamassassin

Kelson kelson at speed.net
Fri Sep 17 12:20:40 EDT 2004


Trevor Dodds wrote:
> I've installed Sendmail 8.13.1 / MIMEdefang 2.44 / Spamassassin 2.64 - This
> is a relay server.
> I've added trusted_networks    172.16/16 to the sa-mimedefang.cf but this
> doesn't skip the tests.  

That's not what trusted_networks is for.  It's for deciding which 
Received: headers can be believed.

If you want to skip all tests for that network, you'll need to create a 
filter_relay function that returns ACCEPT_AND_NO_MORE_FILTERING.  If you 
want to skip only SpamAssassin tests (sa-mimedefang.cf is the 
SpamAssassin config used when calling SA through MD), you'll need to put 
a check in filter_end right before SA is called.

In either case, you can find examples in the list archives.

-- 
Kelson Vibber
SpeedGate Communications <www.speed.net>



More information about the MIMEDefang mailing list