Re: sub-test syntax

2022-04-04 Thread Matija Nalis
On Mon, Apr 04, 2022 at 07:45:02AM +0100, Niamh Holding wrote: > Hello Matija, > Sunday, April 3, 2022, 11:13:13 PM, you wrote: > > MN> For closer example to yours requirements then, perhaps look into > 72_active.cf > MN> regex for RCVD_IN_IADB_LISTED > > So you suggest [26] instead of (2|6)

Re: sub-test syntax

2022-04-04 Thread Martin Gregorie
On Mon, 2022-04-04 at 01:45 +0200, Matija Nalis wrote: > On Mon, Apr 04, 2022 at 12:19:23AM +0100, Martin Gregorie wrote: > > For instance, I whitelist any email sender who I've previously sent > > mail > > to. To do this I maintain am email archive held in a PostgreSQL  > > database and wrote an S

Re: sub-test syntax

2022-04-03 Thread Niamh Holding
Hello Matija, Sunday, April 3, 2022, 11:13:13 PM, you wrote: MN> For closer example to yours requirements then, perhaps look into 72_active.cf MN> regex for RCVD_IN_IADB_LISTED So you suggest [26] instead of (2|6) -- Best regards, Niamhmailto:ni...@fullbore.co.

Re: sub-test syntax

2022-04-03 Thread Matija Nalis
On Mon, Apr 04, 2022 at 12:19:23AM +0100, Martin Gregorie wrote: > For instance, I whitelist any email sender who I've previously sent mail > to. To do this I maintain am email archive held in a PostgreSQL  > database and wrote an SA plugin that searches the archive for any > message(s) I've previo

Re: sub-test syntax

2022-04-03 Thread Martin Gregorie
On Mon, 2022-04-04 at 00:13 +0200, Matija Nalis wrote: > 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

Re: sub-test syntax

2022-04-03 Thread Matija Nalis
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 alter

Re: sub-test syntax

2022-04-03 Thread Niamh Holding
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 -- Best regards, Niam

Re: sub-test syntax

2022-04-02 Thread Matija Nalis
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