Op 21-10-2024 om 16:48 schreef Baptiste TANDA (forum-s...@abcreseau.com):
Hi everybody,

Our SOGo mails are refused by the mail server @orange.fr with the following error :

"/552 5.2.0 Message contains bare CR and is violating 822.bis section 2.3/"

We've investigated the issue and noticed that this happen everytime we use a special french character ("à" for example) and/or when we have several lines in our mail (at least 2 lines).

We also noticed that in such cases, and only in such cases, a header is added : "Content-Tranfer-Encoding: quoted-printable"

It does not happen when we have a single simple line in our email body without any special characters.

By the way, we can send attachment without any issue, as long as there is no "...quoted-printable"

The server is a Debian 11 with Exim4 (4.94.2-7) and SOGo (5.11.2.20241016-1)

Any idea how to solve that issue ?

I guess you are using Cyrus IMAP, it's a known issue there. Bare CR's are refused. That's correct, but other IMAP servers do not. Better ask in the mailing list of Cyrus. This has nothing to do with SOGo.

What I use since many years as a workarround is adding this line to main.cf from Postfix, and that helps:
message_strip_characters = \0

But you are using Exim and I don't know how to do it there, or how to do it in Cyrus. But maybe it helps to find a solution.

Bye,
Paul


--
Paul van der Vlis Linux systeembeheer Groningen
https://vandervlis.nl/

Reply via email to