spamassassin-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Recktenwald <spamassassin-talk-d...@citecs.de>
Subject Re: How do I write a custom rule to match any header
Date Wed, 12 Dec 2012 09:11:15 GMT
On Wed, Dec 12, 2012 at 10:24:28AM +0530, Ram wrote:
> I want to write a custom rule to match if "Any header" contain a 
> particular string
> 
> 
> How do I do this ?

man Mail::SpamAssassin::Conf  says:

	    [...]
	header SYMBOLIC_TEST_NAME header op /pattern/modifiers [if-unset: STRING]
	    [...]
		"header" is the name of a mail header, such as 'Subject', 'To', etc.
	    [...]
		There are several special pseudo-headers that can be
		specified:

		"ALL" can be used to mean the text of all the message's headers.
	    [...]

HTH, chris

Mime
View raw message