User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:184.108.40.206) Gecko/20060601 Firefox/220.127.116.11 (Ubuntu-edgy) Build Identifier: Bugzilla 3.0 When bugzilla fails to make a change based on an email the "reply" feature responds with the wrong line terminator for the postfix version of sendmail. This problem means that no descriptive error messages are returned to the user (just a bounce). The problem can be corrected by stripping the carriage return from the email before it is sent to the MTA in "die_handler". Replace: MessageToMTA($reply->as_string); With: my $text = $reply->as_string; $text =~ s/\r//g; MessageToMTA($text); Reproducible: Always Steps to Reproduce: 1. Setup Bugzilla with Postfix sendmail 2. Try to send bugzilla an email with an invalid parameter Actual Results: An "Undelivered Mail Returned to Sender" notification is sent to the sender of the email and the message "sendmail: fatal: No recipient addresses found in message header" is output on STDERR. Expected Results: A descriptive error email (like "A legal Resolution was not set.") Even though the standard CR-LF combination should be accepted by the postfix sendmail application it does not appear to be working. All other emails on the system work fine (including bugzilla notifications not sent by email_in.pl).
Um, I'm pretty sure RFCs state that the line terminator MUST be a CRLF. Am I wrong?
Version: unspecified → 3.0
I am in fact not wrong, RFC2822 requires all email lines to end in CRLF.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.