Craig Morrison wrote:
Arik Raffael Funke wrote:
Nigel Frankcom wrote:
On Sat, 05 Aug 2006 14:08:45 +0200, Arik Raffael Funke
<[EMAIL PROTECTED]> wrote:
how to I get spamd/spamc to always add the spamassassin report headers? I.e. also to ham messages...

I have the following in my local.cf and user_pref.cf but to no apparent use:

use_auto_whitelist 0
use_bayes 0
add_header all Report _REPORT_
add_header all Status _YESNO_, hits=_HITS_ required=_REQD_ tests=_TESTS_ autolearn=_AUTOLEARN_ version=_VERSION_

I am using version 3.1.4.

report_safe            1

That wasn't it either. As I understand the documentation this config variable is supposed to attach the original message unmodified to a spamassassin spam report message. This is not what I was looking for.

For me the usual X-Spam-Status headers suffice, but I also want them in ham. As a call with "spamassassin ham.txt" would produce... just I want them also with "less ham.txt | spamc".

I attach my local.cf below to avoid any uncertainties.
The point is, who or what is calling spamassassin..

You have to have something in the mix of things that is screwing with your headers. Even with report_safe 0, SA adds the X-Spam* headers..


Ok, my setup is as follows:
I run a spamd daemon and use a .qmail file with the following entry to invoke spamassassin:

|ifspamh user-spam

No other treatment of the messages occurs afterwards. The user has no user_pref.cf file to begin with (An essentially empty one is obviously created by spamassassin on its first run). As to anything else, I use spamassassin straight "out of the box". I do not see, which other configuration files could contribute to the problem. Any hits where to look?

Cheers,
Arik

Reply via email to