Mind Dump, Tech And Life Blog
written by Ivan Alenko
published under license Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)copy! share!
posted in category Digital Despotism / Linux
posted at 05. Dec '20

Postfix: non-UTF-8 Value

So the logs looks like this:

Sep 29 14:03:08 myserver postfix/smtpd[11465]: connect from some_server.sk[]
Sep 29 14:03:08 myserver postfix/smtpd[11465]: warning: proxy:unix:passwd.byname: key "cincila": non-UTF-8 value "cincila:x:8885:1002:Lenka ?in?ila,,,:/network/home/cincila:/usr/bin/rssh": malformed UTF-8 or invalid codepoint
Sep 29 14:03:08 myserver postfix/smtpd[11465]: warning: proxy:unix:passwd.byname lookup error for "cincila"
Sep 29 14:03:08 myserver postfix/smtpd[11465]: NOQUEUE: reject: RCPT from some_server.sk[]: 451 4.3.5 Server configuration error; from=<sata@some_server.sk> to=<cincila@my_server.sk> proto=ESMTP helo=<some_server.sk>
Sep 29 14:03:08 myserver postfix/cleanup[11468]: 5098A2005F0F: message-id=<20200929120308.5098A2005F0F@my_server.sk>
Sep 29 14:03:08 myserver postfix/smtpd[11465]: disconnect from some_server.sk[] ehlo=1 mail=1 rcpt=0/1 data=0/1 rse

Transcript of session follows.

 Out: 220 my_server.sk ESMTP Postfix (Debian/GNU)
 In:  EHLO some_server.sk
 Out: 250-my_server.sk
 Out: 250-SIZE 36700160
 Out: 250-VRFY
 Out: 250-ETRN
 Out: 250-STARTTLS
 Out: 250-8BITMIME
 Out: 250-DSN
 Out: 250-SMTPUTF8
 Out: 250 CHUNKING
 In:  MAIL FROM:<sata@some_server.sk> SIZE=11386 BODY=7BIT
 Out: 250 2.1.0 Ok
 In:  RCPT TO:<cincila@my_server.sk> ORCPT=rfc822;cincila@my_server.sk
 Out: 451 4.3.5 Server configuration error
 In:  DATA
 Out: 554 5.5.1 Error: no valid recipients
 In:  RSET
 Out: 250 2.0.0 Ok
 In:  QUIT
 Out: 221 2.0.0 Bye

For other details, see the local mail logfile

Actually the record really contained mangled UTF-8 values.

Check the record with:

getent passwd cincila

Add Comment