DMO sending mail with broken headers.

Top Page

Reply to this message
Author: Craig Sanders
Date:  
To: dmo-discussion
Subject: DMO sending mail with broken headers.
Since Sat Feb 23 19:59:15 (GMT+11), all mail from this list is ending up in
my system's spam quarantine because dmo's anti-spam software is adding broken
headers to outgoing mail.

this is what i'm getting in the quarantined messages:

X-Amavis-Alert: BAD HEADER SECTION, Improper folded header field made up
        entirely of whitespace (char 20 hex): X-Spam_report: ...that system
        for details.  Content previ[...]


caused by headers like these added by dom's anti-spam:


X-Spam_report: Spam detection software, running on the system "deb-multimedia.org",
        has NOT identified this incoming email as spam.  The original
        message has been attached to this so you can view it or label
        similar future email.  If you have any questions, see
        the administrator of that system for details.


        Content preview:  -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8
        Date: Sat, 23 Feb 2019 09:23:13 +0100 Source: mpd-dmo Binary: mpd Architecture:
        source amd64 Version: 1:0.21.5-dmo1 Distribution: unstable Urgency: medium
        Maintainer: Christian Marillat <m [...]


        Content analysis details:   (-1.7 points, 5.0 required)


        pts rule name              description
        ---- ---------------------- --------------------------------------------------
        -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at http://www.dnswl.org/,
        no trust
        [80.12.242.131 listed in list.dnswl.org]
        -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
        [score: 0.0000]
        0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
        provider (marillat[at]free.fr)
        0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level
        mail domains are different
        0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and
        EnvelopeFrom freemail headers are
        different



That's a single header, and it's broken. Multi-line headers are fine but Mail
headers CAN NOT contain lines consisting solely of spaces. Please fix - make
it use a "." or something if you insist on adding this junk to outbound mail
(not necessary. spam checking is for the receiving system to do, and there's
no way that any sane sysadmin ever sets up their mail server to trust the
sender's spam report header. The mailing-list software should strip these
headers before re-sending).

craig

--
craig sanders <cas@???>