spamassassin-users October 2010 archive
Main Archive Page > Month Archives  > spamassassin-users archives
spamassassin-users: Re: Own Rule

Re: Own Rule

From: John Hardin <jhardin_at_nospam>
Date: Sun Oct 03 2010 - 01:59:32 GMT
To: users@spamassassin.apache.org

On Thu, 30 Sep 2010, John Hardin wrote:

> On Thu, 30 Sep 2010, RW wrote:
>
>> On Thu, 30 Sep 2010 06:39:15 -0700 (PDT)
>> John Hardin <jhardin@impsec.org> wrote:
>>
>> > On Thu, 30 Sep 2010, Hans-Werner Friedemann wrote:
>> >
>> > > Has anyone an idea how I can implement an check whether the
>> > > eMail-recipient is the sender an[d] the eMail-Adress appears in
>> > > the subject to[o]?
>> >
>> > Use the __TO_EQ_FROM meta rule that's being distributed via
>> > sa-update.
>> >
>> > What exactly do you want to check for?
>>
>> As I read it he wants
>>
>> __TO_EQ_FROM && __FROM_IN_SUBJECT
>>
>> where __FROM_IN_SUBJECT would presumably be constructed in a similar
>> way to __TO_EQ_FROM
>
> Gah. Quick answer after brief skim. Sorry.
>
> I'll put that together and add it to my sandbox, likely tomorrow.

...not too shabby:

http://ruleqa.spamassassin.org/20101002-r1003754-n/T_FROM_IN_TO_AND_SUBJ/detail

I'll promote it shortly if it keeps that level of performance.

-- John Hardin KA7OHZ http://www.impsec.org/~jhardin/ jhardin@impsec.org FALaholic #11174 pgpk -a jhardin@impsec.org key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79 ----------------------------------------------------------------------- No representation without taxation! ----------------------------------------------------------------------- 76 days until TRON Legacy