Hi, > Hi,all > > I am sorry that my English is so bad. > > Our company use cyrus-imapd-3.0.5-1.DN.centos7.x86_64. > > We need to make cyrus accept "Bare Newline" data reluctantly, because > Microsoft Outlook 2019 send that kind of data with syncing mail data. > > I want to know whether there is a way.. We always had the patch below in our 2.4 RPMs to make this work. I don't know if this patch still works on newer versions but that's what has worked in the past. I don't know from where you got the cyrus-imapd-3.0.5-1.DN.centos7.x86_64 package but you have to check if a patch can be added to it. Regards, Simon --- cyrus-imapd-2.3.7/imap/message.c 2006-10-28 22:18:08.000000000 +0200 +++ cyrus-imapd-2.3.7/imap/message.c.nobarenewlinescheck 2006-10-28 22:21:55.000000000 +0200 @@ -256,8 +256,9 @@ r = IMAP_MESSAGE_CONTAINSNULL; } else if (*p == '\n') { - if (!sawcr && (inheader || !allow_null)) - r = IMAP_MESSAGE_CONTAINSNL; + /* Do *NOT* check for RFC compliant line breaks (bare newlines) */ + /* if (!sawcr && (inheader || !allow_null)) + r = IMAP_MESSAGE_CONTAINSNL; */ sawcr = 0; if (blankline) { inheader = 0; ------------------------------------------ Cyrus: Info Permalink: https://cyrus.topicbox.com/groups/info/T09bb665ed38a0965-M04886785239d74ac4b43a7fa Delivery options: https://cyrus.topicbox.com/groups/info/subscription