Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Aug 22, 2013 3:30 pm 
Offline
Junior Member
User avatar

Joined: Sat Mar 13, 2010 2:50 pm
Posts: 33
Location: The Intarwebs
Twitter: stiobhart
I'm just in the process of setting up Postfix on my Linode and, although the install seems to be working OK so far, I've run into a bit of a problem:

My real name has an accented character in it "í". Whenever I send an email through postfix on my Linode and receive it on my laptop, the sender comes through as My Full Name<mynickname@mydomain.com>, but with the accented character in my full name replaced with a "Ã". Now, I'm not sure where Postfix is getting my full name from to associate it with my email address, as I've not configured that anywhere. I'm assuming that ­Postfix is reading my full name from /etc/passwd which is the only place I can think of where it is configured on the server.

Assuming the above is true [which it seems to be as changes made in /etc/passwd are reflected in what Postfix sends]: My full name is spelled correctly with the accented character in /etc/passwd so it seems something is 'slipping twixt cup and lip' between /etc/passwd and Postfix. I've tried replacing the accented character in my full name in /etc/passwd with the appropriate unicode entity but that didn't work, the from address on the sent email just included the unicode entity 'as is'. Backslashing didn't work either.

There isn't a problem with unicode support in Postfix itself per se as, when I send an email with accented chars in the title or body they come through OK. It's just the sender full name that's getting messed up.

Any ideas, anyone?

_________________
**************************
Mental Diarrhoea
**************************


Top
   
PostPosted: Sat Aug 24, 2013 5:50 am 
Offline
Senior Member
User avatar

Joined: Sun Jan 18, 2009 2:41 pm
Posts: 830
First thing is to check that Postfix (or whatever is adding the name) is properly encoding it. On the messages in question received on your laptop, view the message source and look at the From: line. It should start with something like =?ISO-8859-1? or =?UTF-8? - only 7-bit ASCII is permitted in mail headers, and RFC 2047 defines how to encode 8-bit characters. (For example, =?ISO-8859-1?Q?Andr=E9?= encodes the name André.)

If this is happening, then the most likely issue is a character set mismatch. Look at the character set being used to encode the header (it's immediately after the =?, or ISO-8859-1 in my example) and compare it to the locale being used in your terminal where you set your user's full name. In the case of a mismatch, then Postfix is probably using a different locale than the one where you set the name.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group