Re: POP3 UTF-8 support

Matthias Andree <[email protected]> Thu, 5 Aug 2021 12:41:14 +0200
Newsgroups gmane.mail.getmail.user
Message-ID <[email protected]>
Am 05.07.21 um 18:27 schrieb Charles Cazabon:
> Kopornoky Tamás <[email protected]> wrote:
>> I'm using getmail to download mail via pop3 to an ubuntu box. I usually get
>> mail daemon errors like this:
>> ----------
>> This E-mail message was determined to be Unicode-formatted
>> but your E-mail reader does not support Unicode E-mail.
>>
>> Please use an E-mail reader that supports POP3 with UTF-8
>> (see https://tools.ietf.org/html/rfc6856.html).
>> ----------
>>
>> After reading that RFC I was wondering if getmail supports UTF8 POP3
>> extension?
>> I think it doesn't because otherwise the message would get through.
> getmail supports Unicode and UTF-8 just fine, and always has.  The server
> you're connecting to is refusing to serve it to getmail, for unknown reasons.  
>
> If I had to guess, I would say it seems to expect the client to issue the
> "UTF8" command from RFC6856, which is not an accepted standard.
>
> The server is broken.  Report the problem to the postmaster of the server.  Do
> you happen to know if it's a "Plesk" system?

Charles,

what Tamás is seeing here is Courier or Courier-IMAP's bin/pop3d
talking, since version 5 of Courier-IMAP.

> /opt/courier $ strings bin/pop3d | grep -3 UTF-8
> Content-Type: text/plain
> This E-mail message was determined to be Unicode-formatted
> but your E-mail reader does not support Unicode E-mail.
> Please use an E-mail reader that supports POP3 with UTF-8
> (see https://tools.ietf.org/html/rfc6856.html).
> ...
See courier-mta.org's libs/imap from the courier-IMAP tarball:

> 5.0.1
>
> 2018-09-26  Sam Varshavchik  <[email protected]>
>
>     * Provide an substitute message to IMAP clients that did not enable
>     UTF-8.
similar things happen for POP3.

Regards,
Matthias