Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon1.gif   MIME-version header duplicated in e-mail messages., posted by Michal Falowski on Thu May 4 17:20:36 2017 
    icon2.gif   Re: MIME-version header duplicated in e-mail messages., posted by Stefan Ritt on Wed Jan 9 11:43:48 2019 
Message ID: 68619     Entry time: Thu May 4 17:20:36 2017     Reply to this: 68881
Icon: Entry  Author: Michal Falowski  Author Email: michal.falowski@uj.edu.pl 
Category: Bug report  OS: Linux | Windows  ELOG Version: 2.9.2-245 
Subject: MIME-version header duplicated in e-mail messages. 

When there are attachments in an entry, logbook is adding additional "MIME-Version" header to e-mail messages.

Spam filter in our university system is mostly giving warnings:

  • X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "MIME-Version"

But sometimes it is not redirecting further the message.

  • Remote Server returned '< #5.6.0 smtp; 554 5.6.0 Bounce, id=27666-07 - BAD HEADER>'

In code I noticed there is always "MIME-Version" header added to the message and additionaly it is added again when a file is attached. I think it is not neccessary to add again this header.

ELOG V3.1.5-fe60aaf