-- Doug

> On Jul 20, 2026, at 05:08, Jochen Bern via dovecot <[email protected]> 
> wrote:
> 
> Am 18.07.26 um 10:31 schrieb Doug Hardie:
>> Here is the corresponding postfix log entry:
>> [...]: 
>> message-id=<91050691.1476946.1783587935766@marketo-platform--email-sender-prod-batch-cluster-545fbbd7dmnt5>
>> Is it possible that the message_id field might be too long?
> 
> The IMAP log line you quoted put the Message-ID as:
> 
> [...], 
> msgid=<91050691.1476946.1783587935766@marketo-platform--email-sender-prod-batch-clu...,
>  [...]
> 
> so it *has* been shortened accordingly. The field with the non-ASCII 
> characters is prefixed "from=", so I'd assume it's either From_ or the 
> address part of From:, taken from the e-mail itself.
> 
> 0xE24D (the two byte following the beginning "WORLD" of the address given) is 
> from Unicode's Private Use Area subset, so I'd guess that you're looking at 
> something that you *cannot* hope to render "correctly" on your own, as the 
> definition is up to the sender's organization.
> 
> Your inability to process the log line seems to suggest that your "terminal" 
> (or OS, or whatever) isn't set to support Unicode / UTF-8 ... or is it 
> stumbling on the "not defined locally" as well ... ?
> 
> $ echo $LANG
> de_DE.UTF-8
> $ echo -e '\0342\0115' > TMP52
> $ file TMP52
> TMP52: ISO-8859 text
> $ vi TMP52
> 
> ... works for me (with the file content "[converted]" and (mis?)rendered as 
> "âM") ...
> 

Using csh:

mail# echo $LANG
C.UTF-8
mail# echo -e '\0342\0115' > TMP52
mail# file TMP52
TMP52: ASCII text
mail# vi TMP52

-e \0342\0115


Using sh:

# echo $LANG
C.UTF-8
# echo -e '\0342\0115' > TMP52
# file TMP52
TMP52: ISO-8859 text
# vi TMP52


Conversion error on line 1; TMP52: unmodified: line 1

Back on csh:

# file TMP52
TMP52: ISO-8859 text
# vi TMP52

Conversion error on line 1; TMP52: unmodified: line 1

Apparently sh and csh versions of echo are different.  sh creates a ISO-8859 
file, but csh will not.  However, in either case, vi still cannot handle that 
file.

-- Doug



_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to