>> -----Original Message-----
>> From: maillist [mailto:[EMAIL PROTECTED]
>> Sent: Wednesday, October 17, 2007 2:12 PM
>> To: Skip
>> Cc: users@spamassassin.apache.org
>> Subject: Re: How to trust my "domain"?
>> 
>> Skip wrote:
>> > Guess this would help:
>> >
>> > Using sendmail 8.13.8 with SA 3.2.3
>> >
>> > - Skip
>> >
>> >
>> >> From: Chris 'Xenon' Hanson [mailto:[EMAIL PROTECTED]
>> >>    Usually you do this with a combination of trusted_networks
>> >> and exclusion in your scanner.
>> >>
>> >
>> >
>> 
>> You may want to look into mimedefang.  It works well with sendmail,
>> and
>> spamassassin, as well as whatever antivirus you may be running.
>> 
>> If you are already running mimedefang, and assuming that your LAN ip
>> scheme is 10.0.1., then add this bit to the sub filter_end part of
>> mimedefang-filter:
>> 
>>     # stopmyfilter
>>     sub filter_relay($$$) {
>>         my ($ip, $name, $helo) = @_;
>>         if ($ip =~ /10\.0\.1\./)
>>        {
>>          return('ACCEPT_AND_NO_MORE_FILTERING', "ok");
>>        }
>>          else
>>          {
>>            return ('CONTINUE', "ok");
>>          }
>>     }
>> 
>> -Aubrey


As a sidenote, I believe "filter_relay" only works if you either set
MX_RELAY_CHECK=yes in /etc/sysconfig/mimedefang, and/or use the -r
option in mimedefang's init script if not using
/etc/sysconfig/mimedefang to source startup/config options from ... 

Reply via email to