The following issue has been RESOLVED. ====================================================================== http://www.dbmail.org/mantis/view.php?id=959 ====================================================================== Reported By: gcth Assigned To: ====================================================================== Project: DBMail Issue ID: 959 Category: general delivery Reproducibility: always Severity: trivial Priority: normal Status: resolved target: Resolution: fixed Fixed in Version: 3.0.2 ====================================================================== Date Submitted: 02-Feb-12 16:38 CET Last Modified: 10-Mar-12 18:16 CET ====================================================================== Summary: Precedence: bulk headers in autoresponses Description: In dbmail, function send_reply does not set appropriate headers in autoreplied mail. This causes some junk emails in automated email processing, like bugreports in jira. The patch below adds proper headers:
--- dbmail-3.0.0/src/dbmail-message.c 2012-01-30 09:33:40.000000000 +0100 +++ dbmail/src/dbmail-message.c 2012-02-02 16:15:30.693173369 +0100 @@ -2280,6 +2280,8 @@ DbmailMessage *new_message = dbmail_message_new(); new_message = dbmail_message_construct(new_message, to, from, newsubject, body); dbmail_message_set_header(new_message, "X-DBMail-Reply", from); + dbmail_message_set_header(new_message, "Precedence", "bulk"); + dbmail_message_set_header(new_message, "Auto-Submitted", "auto-replied"); result = send_mail(new_message, to, from, NULL, SENDMESSAGE, SENDMAIL); ====================================================================== ---------------------------------------------------------------------- (0003418) paul (administrator) - 10-Mar-12 18:16 http://www.dbmail.org/mantis/view.php?id=959#c3418 ---------------------------------------------------------------------- thanks Issue History Date Modified Username Field Change ====================================================================== 02-Feb-12 16:38 gcth New Issue 10-Mar-12 18:16 paul Note Added: 0003418 10-Mar-12 18:16 paul Status new => resolved 10-Mar-12 18:16 paul Resolution open => fixed 10-Mar-12 18:16 paul Fixed in Version => 3.0.2 ====================================================================== _______________________________________________ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev