You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by "Russell P. Sutherland" <ru...@quist.ca> on 2005/03/17 00:31:33 UTC

Test for no Subject line field

Is there a test that one can construct that would
assign a weight to a message that is missing
a certain header, completely? In my case, no Subject
line at all.


-- 
Quist Consulting		Email: russ@quist.ca
219 Donlea Drive 		Voice: +1.416.696.7600
Toronto ON  M4G 2N1		Cell:  +1.416.803.0080
CANADA				WWW:   http://www.quist.ca

Re: Test for no Subject line field

Posted by Fred <sp...@freddyt.com>.
Slightly off topic but does Sendmail 8.12 add a subject when one is not
present?

Matt Kettler wrote:
> Russell P. Sutherland wrote:
>
>> Is there a test that one can construct that would
>> assign a weight to a message that is missing
>> a certain header, completely? In my case, no Subject
>> line at all.
>>
>
>  From the default ruleset for 3.x:
>
> header __HAS_SUBJECT           exists:Subject
> meta MISSING_SUBJECT           !__HAS_SUBJECT


Re: Test for no Subject line field

Posted by Matt Kettler <mk...@evi-inc.com>.
Russell P. Sutherland wrote:

>Is there a test that one can construct that would
>assign a weight to a message that is missing
>a certain header, completely? In my case, no Subject
>line at all.
>

 From the default ruleset for 3.x:

header __HAS_SUBJECT           exists:Subject
meta MISSING_SUBJECT           !__HAS_SUBJECT