Comment 2 for bug 27121

Revision history for this message
Carlos Perelló Marín (carlos) wrote :

My Linux user entry at /etc/password is: 'Carlos Perelló Marín' using UTF-8
characters.

Every time I sent an email using the 'mail' command, it sets the From: header
with a bad encoding getting this error message from spam filters:

X-Amavis-Alert: BAD HEADER Non-encoded 8-bit data (char C3 hex) in message
header 'From'

After talking about the issue at #launchpad channel, Stuart talked about several
causes for this bug:

stub carlos: Either the user database is ASCII only, in which case you shouldn't
have been allowed to set that name, or the user database is in some other known
encoding, in which case 'mail' should encode the From: header correctly. Or the
user database is in an arbitrary, unknown encoding which would also be a bug.