Re: Sendmail+Cyrus IMAP "Data format error" and bounces

2020-04-10 Thread Sergey
On Friday 27 March 2020, you wrote: > With "reject8bit: yes", sendmail refuses the message with "Message > contains non-ASCII characters in headers". (Still don't know why it > doesn't refuse it upfront, but bounces it!). This is LMTP error between Sendmail and Cyrus. The message already receiv

Re: Sendmail+Cyrus IMAP "Data format error" and bounces

2020-03-31 Thread Deborah Pickett
On 2020-03-28 04.59, Andrea Venturoli wrote: > Any idea for a similar tool which can use UTF8SMTPS, so I can repeat > that tests? I would be going low-tech and using telnet or netcat or socat to converse directly with your mail server's port 25.  Craft the client's side of the conversation in anot

Re: Sendmail+Cyrus IMAP "Data format error" and bounces

2020-03-27 Thread Andrea Venturoli
On 2020-03-17 20:13, Andrea Venturoli wrote: On 2020-03-17 15:52, Andrea Venturoli wrote: Also, https://www.cyrusimap.org/imap/reference/manpages/configs/imapd.conf.html#std:cyrusman-imapd.conf(5), says "reject8bit: 0" is the default.  From this I understand my setup should NOT reject 8bit h

Re: Sendmail+Cyrus IMAP "Data format error" and bounces

2020-03-18 Thread Andrea Venturoli
On 2020-03-17 23:38, Deborah Pickett wrote: On 2020-03-17 23:49, Andrea Venturoli wrote: _ sendmail is SMTPUTF8-aware (this is confirmed by EHLO); however Cyrus isn't? Could be.  This option in imapd.conf might be relevant: rfc2047_utf8: 0 If enabled, imapd will parse any non-encoded charact

Re: Sendmail+Cyrus IMAP "Data format error" and bounces

2020-03-17 Thread Sergey
On Tuesday 17 March 2020, Andrea Venturoli wrote: > > I'm now setting this explicitly and I'll see what happens. > > In fact, nothing changed. I checked my Sendmail's log just in case and didn't find any "Data format error" messages. I keep a log for 1 month. About 200K messages were received

Re: Sendmail+Cyrus IMAP "Data format error" and bounces

2020-03-17 Thread Deborah Pickett
On 2020-03-17 23:49, Andrea Venturoli wrote: _ sendmail is SMTPUTF8-aware (this is confirmed by EHLO); however Cyrus isn't? Could be.  This option in imapd.conf might be relevant: rfc2047_utf8: 0 If enabled, imapd will parse any non-encoded character sequence in MIME header values as UTF8. T

Re: Sendmail+Cyrus IMAP "Data format error" and bounces

2020-03-17 Thread Andrea Venturoli
On 2020-03-17 15:52, Andrea Venturoli wrote: Also, https://www.cyrusimap.org/imap/reference/manpages/configs/imapd.conf.html#std:cyrusman-imapd.conf(5), says "reject8bit: 0" is the default. From this I understand my setup should NOT reject 8bit headers (but change non-ASCII characters to X)

Re: Sendmail+Cyrus IMAP "Data format error" and bounces

2020-03-17 Thread Andrea Venturoli
On 2020-03-17 13:31, Sergey wrote: On Tuesday 17 March 2020, Andrea Venturoli wrote: From time to time, I receive some message that are refused and bounce. Do to possible blacklisting, I *really* want to avoid bounces. I use Sendmail+Cyrus a very long time and I not remember this problem e

Re: Sendmail+Cyrus IMAP "Data format error" and bounces

2020-03-17 Thread Andrea Venturoli
On 2020-03-17 11:58, Deborah Pickett wrote: Hi Andrea, Hello and thanks a lot for your interest. Finally I get some useful information on this! The status 5.6.7 seems to be related to encodings.  It's defined in RFC 6531, SMTP Extension for Internationalized Email: When the SMTPUTF8-awa

Re: Sendmail+Cyrus IMAP "Data format error" and bounces

2020-03-17 Thread Sergey
On Tuesday 17 March 2020, Andrea Venturoli wrote: > From time to time, I receive some message that are refused > and bounce. Do to possible blacklisting, I *really* want to > avoid bounces. I use Sendmail+Cyrus a very long time and I not remember this problem exactly. Cyrus is not receive messa

Re: Sendmail+Cyrus IMAP "Data format error" and bounces

2020-03-17 Thread Deborah Pickett
Hi Andrea, On 2020-03-17 20:57, Andrea Venturoli wrote: From time to time, I receive some message that are refused and bounce. Do to possible blacklisting, I *really* want to avoid bounces. Here's a sample log: sm-mta[97841]: 00DI1r4x097841: from=, size=37059, class=0, nrcpts=1, msgid=, proto

Sendmail+Cyrus IMAP "Data format error" and bounces

2020-03-17 Thread Andrea Venturoli
Hello. I'm running sendmail 8.15.2, delivering to Cytus IMAP 3.0.13. From time to time, I receive some message that are refused and bounce. Do to possible blacklisting, I *really* want to avoid bounces. Here's a sample log: sm-mta[97841]: 00DI1r4x097841: from=, size=37059, class=0, nrcpts=1