RE: [WARNING] RE: Help with rule matching when it shouldn't

2024-03-20 Thread Erickarlo Porro
, March 20, 2024 10:02 AM To: users@spamassassin.apache.org Subject: RE: Help with rule matching when it shouldn't I want to catch “yahoo” anywhere in the header so that it matches if its in the name or in the address. So I would want to match ya...@gmail.com<mailto:ya...@gmail.com>

RE: Help with rule matching when it shouldn't

2024-03-20 Thread Erickarlo Porro
eturn path does not include yahoo.com, match my rule. From: Jimmy Sent: Tuesday, March 19, 2024 7:45 PM To: users@spamassassin.apache.org Subject: Re: Help with rule matching when it shouldn't The correct syntax for the header rule should be: header __FROM_ADDRESS From:addr =~ /\@yahoo\.c

Re: Help with rule matching when it shouldn't

2024-03-20 Thread Matus UHLAR - fantomas
On 20.03.24 06:44, Jimmy wrote: Regarding the example provided, the "__RETURNPATH_IS" rule should indeed be triggered since it matches "yahoo.com" in the return-path. If you're uncertain about the intended behavior of the rules, please clarify the requirements so we can adjust the rules according

Re: Help with rule matching when it shouldn't

2024-03-19 Thread Jimmy
The correct syntax for the header rule should be: header __FROM_ADDRESS From:addr =~ /\@yahoo\.com/i This rule will specifically match email addresses containing "@yahoo.com" while excluding addresses like "ya...@gmail.com". Regarding the example provided, the "__RETURNPATH_IS" rule should indee

Help with rule matching when it shouldn't

2024-03-19 Thread Erickarlo Porro
Could someone help me figure out why my custom rule is matching when it should not be matching? This is my current setup: header __FROM_ADDRESS From =~ /yahoo/i header __RETURNPATH_IS Return-Path !~ /yahoo.com$/i meta NOT_IT (__FROM_ADDRESS && __RETURNPATH_IS) describe NOT_IT Sende