On X-Spam-Status, X-Spam-Flag, X-MailScanner-SpamCheck, and other weirdness

Julian Field MailScanner at ecs.soton.ac.uk
Tue Aug 18 14:48:39 IST 2009

On 18/08/2009 14:44, Mauricio Tavares wrote:
> Glenn Steen wrote:
>> 2009/8/17 Mauricio Tavares <raubvogel at gmail.com>:
>>> Mark Sapiro wrote:
>>>> On Fri, Aug 14, 2009 at 04:16:03PM -0400, Mauricio Tavares wrote:
>>>>>        I see what you mean, In fact, in my MailScanner.conf we 
>>>>> have lines
>>>>>        like
>>>>> Spam Actions = deliver header "X-Spam-Status: Yes"
>>>>> But one of the questions I have is that when it sees that header 
>>>>> in the
>>>>> mail, it does not wipe it and puts its own version. Instead it 
>>>>> appends the
>>>>> reply to the currently existing header, hence the
>>>>> X-Spam-Status: No, Yes
>>>> Look at the documentation for the Multiple Headers setting in
>>>> MailScanner.conf
>>>> and see if changing it to
>>>> Multiple Headers = replace
>>>> solves your problem.
>>>        Thanks for the suggestion. I tried that and it is still 
>>> appending to
>>> that header. I also tried doing
>>> clear_headers
>>> remove header all Status
>>> in spam.assassin.prefs.conf with the same result. I think it just 
>>> does not
>>> like me...
>     I agree completely, but since I feel like I am on the end of my 
> rope here, I am trying anything I can think of. If fact, if someone 
> told me to rub a dead chicken on the server, I would go poultry 
> shopping... :)
>> As Jules said, the SA bit shouldn't matter. Did you remember to
>> restart MS after editing MailScanner.conf?
> About restarting MS, I actually told it to first stop and then start 
> instead of just /etc/init.d/MailScanner restart kinda thing.
Doing a restart is actually more reliable than a stop rapidly followed 
by a start.


Julian Field MEng CITP CEng
Buy the MailScanner book at www.MailScanner.info/store

Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
Follow me at twitter.com/JulesFM and twitter.com/MailScanner

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

More information about the MailScanner mailing list