On Mon, 10 Sep 2012, John Hardin wrote:

On Mon, 10 Sep 2012, Helmut Schneider wrote:

Short story:
Can I exclude hosts from RCVD_IN_DNSWL_LOW/MED/HI?

Long story:
We are using an external provider to filter SPAM. We also use SA
internally. Sometimes mails are not recognized as SPAM externally and
forwarded to SA. The mailrelays of the external provider are listed in
RCVD_IN_DNSWL_MED and therefore SA subtracts -2.3 points. While SA
would recognize and filter the SPAM correctly it does not because of
RCVD_IN_DNSWL_MED. So I would like to exclude those mailrelays from
(e.g.) RCVD_IN_DNSWL_MED.

I know I can write a rule that adds a score to those mailrelays but
that seems to be "not perfect" as membership of that host might change
from RCVD_IN_DNSWL_MED to RCVD_IN_DNSWL_HI/LOW and v.v. and then would
receive different scores.

Make a subrule that looks for your mail service host's name in Received headers, and add a meta that fires on that rule + RCVD_IN_DNSWL_MED and adds compensating points.

If he's got his "trusted_networks" configured correctly (has his MX/relays
listed) shouldn't that take care of the problem?

It looks like RCVD_IN_DNSWL_MED examines "firstuntrusted" and if he trusts
his MX/relays correctly then this shouldn't be happening.

--
Dave Funk                                  University of Iowa
<dbfunk (at) engineering.uiowa.edu>        College of Engineering
319/335-5751   FAX: 319/384-0549           1256 Seamans Center
Sys_admin/Postmaster/cell_admin            Iowa City, IA 52242-1527
#include <std_disclaimer.h>
Better is not better, 'standard' is better. B{

Reply via email to