John D. Hardin wrote:
On Thu, 8 Feb 2007, Daryl C. W. O'Shea wrote:
John D. Hardin wrote:
On Thu, 8 Feb 2007, Daryl C. W. O'Shea wrote:
FWIW, if you were to write the rules using the
X-Spam-Relays-External pseudo header (or X-Spam-Relays-Untrusted
for older versions of SA) you could write generic rules that work
for everyone (or survive changes to your mail topology).
...can you give a ferinstance? I can't see how that would work from
the documentation of those pseudoheaders that in the wiki...
http://wiki.apache.org/spamassassin/TrustedRelays
Something like this will do:
header BLAH X-Spam-Relays-External =~ /^[^\]]+
rdns=[a-z0-9_-]{1,30}\.blackberry\.com /i
Ah. Check the rdns instead of the HELO. Ok. The example on the wiki
doesn't have rdns info so that wasn't apparent.
You could, of course, check the helo instead.
I think you also need a period in that as well:
rdns=[.a-z0-9_-]{1,30}\.blackberry\.com
Yup.
Daryl