[SA-exim] Using rewrite_header

Jason Lixfeld jason-saexim at lixfeld.ca
Mon Jul 24 07:49:45 PDT 2006


On 24-Jul-06, at 3:39 AM, Marc MERLIN wrote:

> On Mon, Jul 24, 2006 at 02:58:22AM -0400, Jason Lixfeld wrote:
>> I'm a little confused about something I read:
>>
>> http://marc.merlins.org/linux/exim/files/sa-exim-4.2.1/README
>>
>> Under "CONFIGURING SPAMASSASSIN" it says:
>>
>> "Since SA is usually configured to pass messages on that are beyond
>> the SA
>> spam threshold, it can make sense to rewrite the subject line."
>>
>> I have told SA to rewrite my subject:
>>
>> rewrite_header Subject ***** _HOSTNAME_ thinks this is spam (_SCORE_/
>> _REQD_) *****
>
> I have 'rewrite_header Subject SPAM: _HITS_:' and it works for me
>
> Have you tried passing a spam message to SA directly from the  
> command line?
> like so: spamassassin -t -D < /tmp/mail
>
> Does the subject line get rewritten then?

Yes, the subject does get re-written when I run SA as above,

> If not, it's an SA configuration problem.

Where else do I look?  I don't see anything in sa-exim.conf  
pertaining to subject, so I'm not sure where to go next.

> Marc
> -- 
> "A mouse is a device used to point at the xterm you want to type  
> in" - A.S.R.
> Microsoft is to operating systems & security ....
>                                       .... what McDonalds is to  
> gourmet cooking
> Home page: http://marc.merlins.org/
>




More information about the SA-Exim mailing list