Re: Rule Help - not sure what is wrong with my syntax

2023-01-12 Thread John Hardin
On Thu, 12 Jan 2023, John Hardin wrote: On Thu, 12 Jan 2023, Martin Gregorie wrote: On Wed, 2023-01-11 at 18:39 -0500, Joey J wrote: Hello All, I created this rule to check for email addresses matching a list to get added some negative value. I also tried it with just domains so it wou

Re: Rule Help - not sure what is wrong with my syntax

2023-01-12 Thread John Hardin
On Thu, 12 Jan 2023, Martin Gregorie wrote: On Wed, 2023-01-11 at 18:39 -0500, Joey J wrote: Hello All, I created this rule to check for email addresses matching a list to get added some negative value. I also tried it with just domains so it would be more efficient, but I can't seem to get th

Re: Rule Help - not sure what is wrong with my syntax

2023-01-12 Thread Henrik K
There's no need for any rules: whitelist_to us...@example.com whitelist_to *@domain.com And adjust USER_IN_WHITELIST_TO for score. (welcomelist_to / USER_IN_WELCOMELIST_TO in 4.0) On Wed, Jan 11, 2023 at 04:56:21PM -0800, Loren Wilton wrote: > ? > Why not do a simple rule rather than inventi

Re: Rule Help - not sure what is wrong with my syntax

2023-01-12 Thread Martin Gregorie
On Wed, 2023-01-11 at 16:56 -0800, Loren Wilton wrote: > Why not do a simple rule rather than inventing some Perl code? > > header TO_SPECIFIC_EMAIL To:addr ~= > '(?:\bus...@example.com|\bus...@example.com|\bus...@example.com)' > describe TO_SPECIFIC_EMAIL Mail to a specific email address > score

Re: Rule Help - not sure what is wrong with my syntax

2023-01-12 Thread Martin Gregorie
On Wed, 2023-01-11 at 18:39 -0500, Joey J wrote: > Hello All, > > I created this rule to check for email addresses matching a list to > get > added some negative value. > I also tried it with just domains so it would be more efficient, but I > can't seem to get them to run. > Any suggestions? > U