Bug 6991 - spamassassin does not add_header anymore with perl 5.16
Summary: spamassassin does not add_header anymore with perl 5.16
Status: RESOLVED INVALID
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Score Generation (show other bugs)
Version: 3.3.2
Hardware: All All
: P2 normal
Target Milestone: Undefined
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-13 15:32 UTC by Benny Pedersen
Modified: 2014-01-13 23:14 UTC (History)
1 user (show)



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description Benny Pedersen 2014-01-13 15:32:19 UTC
atleast not with spampd 2.30, i am a bit unsure if its just spampd that breaks it, if it is i can make a bug on this instaed, so i need to know if others see no problem with spampd, and perl 5.16

i had used this as stable in perl 5.12

running now with sa 3.3.2 where the same problem is in, so its not just something that came in sa 3.4.x
Comment 1 Mark Martinec 2014-01-13 18:04:34 UTC
Tried spampd 2.30 with both SpamAssassin 3.3.2 and 3.4.0-rc5,
using perl 5.18.2.  Headers were added in both cases.
Check your spampd debugging.

Note that spampd only invokes mail rewriting if mail is spam
or when option --tagall is used.  If that is not the case, the
'add_header' has no effect (nor 'add_header all' or 'add_header ham').

I tested it with the following, added to local.cf:

add_header all Timing _TIMING_
add_header all RulesVersion _RULESVERSION_
add_header all LastExt _LASTEXTERNALIP_
add_header spam Report _REPORT_
add_header spam TestsScores _TESTSSCORES_
Comment 2 Benny Pedersen 2014-01-13 22:01:30 UTC
my bad, i found my own error today, missed options in spampd to add headers, no bug, clossing