Hello guys:

I'm an old spamassassin user but not an experienced one indeed. I have
a Zimbra server and a dedicated antispam with MailScanner like this:

Zimbra: 192.168.1.25
Antispam: 192.168.1.5

All incoming and outgoing mail traffic goes through my antispam box.
Well, I have already working DNS based checks like "skip_rbl_checks 0"
and/or "RDNS_NONE" working fine for external mail servers. However, I
don't know how to make an exclusion for my internal network
(192.168.1.0/24).

On my Antispam box this is what I tried to put in
/etc/mail/spamassassin/MailScanner.cf:

skip_rbl_checks 0
trusted_networks 127.0.0.1 192.168.1.0/24
internal_networks 192.168.1.25

I've configured a local named service on my antispam box to make sure
that 192.168.1.5 and 192.168.1.25 have a correct rDNS configuration
(in both directions). I even configured local resolution of those IPs
in /etc/hosts

However, I can see that SpamAssassin is still scoring all my outgoing
emails like this:

RDNS_NONE  0.97
RCVD_IN_BRBL_LASTEXT 1.45

How can I effectively avoid these kind of DNS checks for my LAN?

Thanks in advance.

Reply via email to