Viktor Dukhovni skrev den 2016-01-04 06:20:
On Mon, Jan 04, 2016 at 06:00:52AM +0100, Benny Pedersen wrote:
On January 4, 2016 3:10:16 AM King Cao <speedj...@gmail.com> wrote:
>Postfix will convert those non-printable character (or invalid UTF8
>characters) into "?", then write them into log file, so europeon characters
>in msgid or sender will be "?" which cause the troubleshooting is hard.
is your filesystem smtputf8 ready ?
The filesystem has nothing to do with it.
so fail2ban does not complain about it from sysloging, if postfix never
saves utf8 in syslog then its not postfix issues, but if postfix send
syslog utf8 and the syslog cant handle it, we loose
or is it just terminal not using utf8 for the OP, never tryed it here
The real problem is that
random binary data in regular SMTP cannot be presumed to be UTF-8.
another problem, i think the OP only have logging problems
Then log-analysis tools would also need to be UTF-8 ready, but
that too is not a filesystem issue.
indeed it is if filenames or loglines is encoded in utf8, eg if syslogs
logs utf8 subjects, and syslog dont support utf8 problems is not a
postfix problem :=)