Clifton Royston wrote:
On Sun, Oct 08, 2006 at 02:53:47PM -0700, John Rudd wrote:
Clifton Royston wrote:
Also, IIRC there's already a set of rules closely related to what
you're asking, so you can base it off those. Try looking for the
definition of HELO_DYNAMIC_IPADDR and related rules.
Yeah, HELO_DYNAMIC_IPADDR is interesting. It shows me how to start
looking at what I want to look for. I want to look at the rdns part,
not the helo part (I don't care at all about the helo string) ... but I
can write something from that for the rdns= part of the pseudo-header.
Excellent information, thanks :-)
I'm guessing I need to look at the first segment of
X-Spam-Relays-Untrusted, but ONLY if there's nothing in
X-Spam-Relays-Trusted ... Guess I have to learn how to do meta rules, too.
As I understand it, and given the examples on the TrustedRelay page,
X-Spam-Relays-Trusted is all of *your* servers it came through on the
way to the SA machine, so you want to ignore anything in there. If you
have no relays before this machine, there won't be anything in there.
Right, but if it came from a machine in my network, I don't want the
dynamic IP addr checks to increase the score. Thus, I need to look at
both. If there's anyone in the Trusted pseudo-header, then don't bother
with the checks, basically.