Le 04/11/2024 à 22:22, Paul van der Vlis ([email protected]) a écrit :
Op 21-10-2024 om 16:48 schreef Baptiste TANDA ([email protected]):
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.

On our SOGo server we use dovecot IMAP server. However, dovecot is not involved while sending mail : at the time of sending, only SOGo web interface and Exim SMTP are involved. Maybe you are talking about the recipient's side ? In that case, we can not do anything, as Orange is one of the main email provider in France...


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.
I'll try to find an equivalent of this option in Exim and see what it gives.

Bye,
Paul



Reply via email to