View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0011123 | mantisbt | public | 2009-11-04 12:47 | 2010-04-23 23:22 | |
Reporter | thobleone_oleco_net | Assigned To | vboctor | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | duplicate | ||
Product Version | 1.1.8 | ||||
Summary | 0011123: Duplicate Message ID Header | ||||
Description | A duplicate but different message ID header is being send in notification emails on submitted bugs because both the email_api.php and the class.phpmailer.php add these headers. If more than one notification email is being send to the same mail server, one of these mails might be discarded if this server filters duplicates based on the Message-ID header. | ||||
Steps To Reproduce |
| ||||
Additional Information | The email_api.php adds an identical Message-ID header for emails of type 'email_notification_title_for_action_bug_submitted' trying to ensure threading of notification emails (line 953 ff). All recipients will get the same header here. The class.phpmailer.php adds the but unique second Message-ID header for each email send (line 798). | ||||
Tags | No tags attached. | ||||
related to Issue ID 0010040 |
|
|
|
Here is an example of the email headers. Sorry that I can't really tell about the email server software. The server itself is run by an ISP. By their support I got the information that a duplicate filter is running that works mainly based on the message-id header. The first Message-ID header containing the host name is put in place by the PHPMailer class, the second one is put there by the email_api. I was able to resolve the issue modifying the email_api class around line 953 by the code posted below the mail headers. Perhaps its worth considering this change being a configuration option? Return-Path: <mantisbt@myanonymizeddomain.de> Suggested fix below replaces the bug threading headers my a custom Issue-ID header. if ( $p_message_id == 'email_notification_title_for_action_bug_submitted' ) { TB removed because duplicate filter on myanonymizedprovider.de
} else { TB removed because duplicate filter on myanonymizedprovider.de
} |
|
I can't repro this on 1.2.x. Here are the headers I get: Delivered-To: someone@example.com I'll mark this as a duplicate of 10040 (see 0010040:0020577) |
|