On Sat, 2014-05-24 at 01:12 +0200, Karsten Bräckelmann wrote:
> On Sat, 2014-05-24 at 00:34 +0200, Axb wrote:
> > On 05/24/2014 12:23 AM, Martin Gregorie wrote:
> 
> > > 2 Failure of spamc/spamd to output any X-Spam headers
> > > =====================================================
> > > This morning SA 3.3.2 was working as expected on my SA test box when I
> > > amended a rule to recognise a new spam variant. The test box is running
> > > a fully patched (as of last Friday) copy of Fedora 20. Then I did my
> > > normal weekly yum upgrade. Shortly after that I got some new spam which
> > > I ran a test on using my normal spamc/spamd test system on the SA test
> > > box. To my surprise, no X-Spam headers at all were added to it.
> > >
> > > Some experimentation showed that the headers are added if spamassassin
> > > is fed the message as I showed above (problem 1 was spotted when I was
> > > trying to work out what was losing the X-Spam headers), but if the
> > > message is passed to spamd via spamc the X-Spam headers are omitted from
> > > the output. I tried two known pieces of spam: both are small (2813 and
> > > 6984 bytes) and both showed the same effect, so it should not have been
> > > due to skipping a huge message.
> > >
> > > The yum upgrade replaced three Perl libraries:
> 
> Is that everything that was upgraded, or just the Perl bits?
> 
Just the Perl bits. 

> 
> > Depending on what you have in your local.cf X headers may or not be added.
> 
> Nope, the X-Spam-Checker-Version header cannot be removed. Unless spamc
> options suppress output of the message entirely, there will always be at
> least that one header.
> 
> Martin, is spamd running and responding? Try pinging it:
> 
>   spamc -K
> 
Yes, when I started it. 'spamc -K' said   SPAMD/1.5 0

As you may have seen, my SA rules development test rig, which is what is
doing this odd stuff, starts spamd, runs one or more spams through
spamc/spamd and stops spamd. I haven't touched that script for a year or
three, i.e. not since Fedora's daemon management service switched from
Sys V init to systemd.

Martin



Reply via email to