Re: How to get every message (even a malformed one) onto Cyrus imapd?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Vincent Fox <vbfox@xxxxxxxxxxx>, Thu, 28 May 2015:

> On 05/28/2015 10:05 AM, Recursive wrote:
>> This means that these messages well-formed enough for GMX to accept  
>> them, but are so malformed that cyrus lmtp / imapd rejects them.
> I can give an example of a related problem.
>
> We use sendmail as our MTA, delivering via LMTP to Cyrus.
> The LMTP delivery module on Sendmail defaults to allowing
> lines longer than specification.  Cyrus accepts them.

Strangely enough I hit this same problem yesterday.  While migrating a  
mailbox from Cyrus to Exchange through imapsync, some messages where  
not copied.  The reasons was also that the message had longer lines  
than the RFC allows.

There is a setting in Exchange that limits the max length of a  
command. (Or something like that) And the default value is 10240  
bytes.  Increasing that helps somewhat, but messages can have longer  
lines.

In my case I was helped by using the latest version of imapsync.  In  
the options you can pass a command to run on every message that has  
longer lines.  In this case by using 'reformime -r7' (maildrop package  
on Debian), http://www.courier-mta.org/reformime.html)


I'm using here postfix that does lmtp delivery, so I'm surprised  
postfix doesn't get around it.

Rudy

-- 
  -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  Rudy Gevaert                             e-mail: Rudy.Gevaert@xxxxxxxx
  Directie ICT, Afdeling Infrastructuur
  Groep Systemen                                      tel: +32 9 264 4750
  Universiteit Gent                                   fax: +32 9 264 4994
  Krijgslaan 281, gebouw S9, 9000 Gent, Belgie               www.UGent.be
  -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus




[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux