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. I think you also need a period in that as well: rdns=[.a-z0-9_-]{1,30}\.blackberry\.com -- John Hardin KA7OHZ http://www.impsec.org/~jhardin/ [EMAIL PROTECTED] FALaholic #11174 pgpk -a [EMAIL PROTECTED] key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79 ----------------------------------------------------------------------- Gun control is marketed to the public with the idea that violent criminals will obey the law. This is an appealing delusion. ----------------------------------------------------------------------- 4 days until Abraham Lincoln's and Charles Darwin's 198th Birthdays