On Sat, Apr 02, 2022 at 06:09:20PM +0100, Niamh Holding wrote:
> Will this work to check 2 ip address responses, or do I have to write 
> separate ruled for 127.0.0.2 & 127.0.0.6
> 
> header      __NH_HOLTRBL_X1             
> eval:check_rbl_sub('holtrbl-lastexternal','127.0.0.(2|6)')

You can do it one rule, but you have to learn to use correct regexses for 
check_rbl_sub().

Do a:

grep -r check_rbl_sub /var/lib/spamassassin

for examples of what's possible and how (e.g. 25_dnswl.cf)


-- 
Opinions above are GNU-copylefted.

Reply via email to