spamassassin-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Axb <axb.li...@gmail.com>
Subject Re: Localpart To: Present In From, Subject, etc...
Date Mon, 27 Oct 2014 12:05:36 GMT
On 10/27/2014 12:49 PM, John Traweek CCNA, Sec+ wrote:
> I am sure this is doable and did some searching but couldn't find it
> referenced.  How would one create a rule to detect the presence of
> the To:  local part in the subject, ie spammer sends email To:
> localpart@domain.com and the rule triggers on the localpart being
> present in other headers such as the Subject, the From, etc...
> Thanks!
>

https://wiki.apache.org/spamassassin/WritingRules

"There's also an option to look at all the headers and match if any of 
them contain the specified regex:"

is that what you want?

Mime
View raw message