Wolfgang.Friebel at desy.de
2009-Mar-30 12:29 UTC
[Dovecot] Empty To: Header and message_address_parse
Using dovecot 1.2beta (but earlier versions should behave similarly) we have a problem in conjunction with empty To: headers and the RT request tracker. RT sends mail out using Bcc: and no To: header at all. To make some mailers happy one can configure to send a dummy To: header, which we do. Our To header looks like: To: "AdminCc of rt Ticket #123456":; The message_address_parse function called with the TRUE flag (triggers add_fixed_address) in dovecot changes that to To: AdminCc of rt Ticket #123456: MISSING_MAILBOX at MISSING_DOMAIN ; and then at least alpine does use that invalid address as Cc: address when replying. If the mail is stored in a local folder, i.e. does not get fetched via IMAP then the To: line is displayed as is and a reply does not result in an errorneous Cc: This behaviour is at least inconsistent from a user point of view. Is there some advice other than change the RT mail header generation? (other mailers seem to copy the To: line unaltered which results in an invalid address as well, therefore I admit that the real problem is with RT) -- Wolfgang Friebel Deutsches Elektronen-Synchrotron DESY Phone/Fax: +49 33762 77372/216 Platanenallee 6 Mail: Wolfgang.Friebel AT desy.de D-15738 Zeuthen Germany
On Mar 30, 2009, at 8:29 AM, Wolfgang.Friebel at desy.de wrote:> Our To header looks like: > To: "AdminCc of rt Ticket #123456":; > > The message_address_parse function called with the TRUE flag > (triggers add_fixed_address) in dovecot changes that to > To: AdminCc of rt Ticket #123456: MISSING_MAILBOX at MISSING_DOMAIN ;That's a bug. Fixed: http://hg.dovecot.org/dovecot-1.2/rev/e5658894cd13
Maybe Matching Threads
- Emails with sender MISSING_MAILBOX@missing_domain
- Emails with sender MISSING_MAILBOX@missing_domain
- Address with whitespace shows as ""@MISSING_DOMAIN
- Bug: Dovecot appending "MISSING_DOMAIN" to fetch envelope responses
- To field was not correct indexed by FTS