The following issue has been SUBMITTED. ====================================================================== http://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: new target: ====================================================================== Date Submitted: 02-Feb-12 16:38 CET Last Modified: 02-Feb-12 16:38 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); ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 02-Feb-12 16:38 gcth New Issue ====================================================================== _______________________________________________ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev