mainSpamAssassin Milter Plugin - Support: sr #105693, MIMEfying non-MIME messages for...


sr #105693: MIMEfying non-MIME messages for report_safe 1

Submitter:  None
Submitted:  Wed 06 Dec 2006 11:25:55 PM UTC
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Ready For Test
Privacy:  Public Assigned to:  dnelson
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup

Fri 15 Dec 2006 12:46:39 AM UTC, comment #2: 

Sorry for the delay.  I rebuilt the Debian package with your patch applied, installed, and tested it. The problem is solved.


Gustavo Chaves <gnustavo>
Thu 07 Dec 2006 07:30:09 PM UTC, comment #1: 

Try the attached patch, which should update the MIME-Version header if it gets changed or added.

(file #11472)

Dan Nelson <dnelson>
Group administrator
Wed 06 Dec 2006 11:25:55 PM UTC, original submission:  

When SpamAssassin is configured with report_safe true (1 or 2) it encapsulates the original spam in a MIME message.

Spamass-milt is correctly inserting the Content-Type header but it's not inserting the "MIME-Version: 1.0" header.

I suppose it should be calling update_or_insert for the "MIME-Version: 1.0" header before calling update_or_insert for the Content-Type header.

The problem only manifests itself when the original spam is not a MIME message, which is unusual but can happen.  In this case, the MUA don't recognize the message as MIME formatted and shows its body as text.

I'm using Ubuntu's spamass-milter package, version 0.3.1-1.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #11472:  sa-mime.diff added by dnelson (3KiB - application/octet-stream - patch adding mime)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by gnustavo (Posted a comment)
  • -email is unavailable- added by dnelson (Updated the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2006-12-07 dnelson Attached File- Added sa-mime.diff, #11472
        StatusNone Ready For Test
        Assigned toNone dnelson

    Back to the top

    Powered by Savane 3.13-04b1.
    Corresponding source code