On Sun, Apr 03, 2022 at 10:06:51AM +0100, Niamh Holding wrote:
> Hello Matija,
> Saturday, April 2, 2022, 7:12:42 PM, you wrote:
> 
> MN> grep -r check_rbl_sub /var/lib/spamassassin
> MN> for examples of what's possible and how (e.g. 25_dnswl.cf)
> 
> Looking there I see nothing equivalent to alternates like in ordinary regexes 
> (2|6) for 2 or 6

It shows how command must look to be able to correctly use regexes there 
(instead of plain string).

"grep" command above should've returned more examples for you...

Then you can use similar principle to look for any other things you
want to accomplish in the future, simply by looking how others have used it.
That's why I provided it that way instead of simple copy/pasting the final 
result.

For closer example to yours requirements then, perhaps look into 72_active.cf 
regex for RCVD_IN_IADB_LISTED

-- 
Opinions above are GNU-copylefted.

Reply via email to