Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SA Message Headers loose it's formatting after HMS adds his own headers #115

Open
RvdHout opened this issue Jul 19, 2015 · 1 comment
Open
Labels
Milestone

Comments

@RvdHout
Copy link
Contributor

RvdHout commented Jul 19, 2015

Without hMailServer headers added to a message the SA added headers look like:

X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) * on
   Server * at Sun, 19 Jul 2015 08:13:19 +0200
X-Spam-Status: No, score=-7.1, hits=-7.1, required=4.0, autolearn=no
   autolearn_force=no, shortcircuit=no
X-Spam-Report: 
   * -6.0 USER_IN_WHITELIST_TO User is listed in 'whitelist_to'
   * -0.0 SPF_PASS SPF: sender matches SPF record
   *  0.8 PDF_ATTACHED BODY: email contains a PDF file attachment
   * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
   *      [score: 0.0000]

After hMailServer adds his headers like X-hMailServer-Spam, X-hMailServer-Reason etc. it looks like:

X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) * on Server * at Sun, 19
 Jul 2015 08:13:19 +0200
X-Spam-Status: Yes, score=5.4, hits=5.4, required=4.0, autolearn=no autolearn_force=no,
 shortcircuit=no
X-Spam-Level: *****
X-Spam-Report: *  0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) *  1.5
 SUBJ_ALL_CAPS Subject is all capitals *  0.2 JAM_LONG_LINK BODY: Very long
 link in mail, possibly filled up with *      random words by bulk mailer *
 0.4 HTML_IMAGE_RATIO_02 BODY: HTML has a low ratio of text to image area *
  0.0 HTML_MESSAGE BODY: HTML included in message *  1.0 HTML_FONT_FACE_BAD
 BODY: HTML font face is not a word *  0.8 BAYES_50 BODY: Bayes spam
 probability is 40 to 60% *      [score: 0.4965] *  0.8 MPART_ALT_DIFF
 BODY: HTML and text parts are different
X-hMailServer-Spam: YES
X-hMailServer-Reason-1: Tagged as Spam by SpamAssassin - (Score: 5)
X-hMailServer-Reason-Score: 5

To be clear you understand what i mean, the linebreaks in the original X-Spam-Report header seem to have been removed by hmailserver (see above)

More info:
https://www.hmailserver.com/forum/viewtopic.php?p=177517#p177517

@RvdHout RvdHout changed the title Message Headers loose it's formatting after hmailserver add his own headers SA Message Headers loose it's formatting after hmailserver add his own headers Aug 8, 2015
@RvdHout RvdHout changed the title SA Message Headers loose it's formatting after hmailserver add his own headers SA Message Headers loose it's formatting after HMS adds his own headers Aug 8, 2015
@martinknafve martinknafve added this to the 5.7 milestone Apr 23, 2016
@RvdHout
Copy link
Contributor Author

RvdHout commented Jun 24, 2023

Hey @martinknafve I stumbled on a comment that hints it could be responsible for the header formatting to go completely haywire, I couldn't find a source < 2008-12-04, do you happen to know what exactly got changed? (eg: how te revert to old \t behavior?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants