Email From-Header line is missing quotes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Confirmed
|
Wishlist
|
OpenERP's Framework R&D |
Bug Description
In Settings -> Users -> Peter Pan you change the name to 'Pan, Peter' (without the quotes).
Then send an email to an external email address.
We use Postfix. Postfix gets presented by a FROM line in the email header which looks like:
From: Pan, Peter <email address hidden>
which is wrong - it has to be
From: "Pan, Peter" <email address hidden>
at least in this special case, if the name contains a comma.
Without the double quotes, Postfix reads two sender addresses, 'Pan' and 'Peter <email address hidden>', separated by a comma. 'Pan' gets rewritten to a standard form according to
> http://
for example to '<email address hidden>'. Then the mail server delivers the email to the recipient (or applies additional rewritings with sender_canonical afterwards to get rid of the server name and replace it with a domain, which makes it more confusing).
The recipient gets an email containing two senders, unfortunately the first one is visible in his client (tested with Gmail Web Client and Thunderbird).
Regards
Karsten
affects: | openobject-addons → openerp-web |
affects: | openerp-web → openobject-server |
Changed in openobject-server: | |
assignee: | nobody → OpenERP's Framework R&D (openerp-dev-framework) |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
Version: 7.0 nightly, downloaded from www.openerp.com
Package: Ubuntu DEB
Postfix: 2.7.0
Ubuntu: 12.04 LTS, fully patched