problems copying mail from dovecot to cyrus.

Alvin Starr alvin at netvel.net
Mon Apr 25 07:59:26 EDT 2016


I just had a fun time over the last few days with copying email from a 
dovecot based mail store to cyrus.
It seems that some of the multi-line X-Spam* headers were corrupted and 
would not copy over using imapsync.


I was able to get it to work by adding : --regexmess 
's{^X-Spam-Bar(.|\n)*X-Spam-Flag:.*$\n}{}m'
to imapsync but am wondering if anybody has a better solution.


-- 
Alvin Starr                   ||   voice: (905)513-7688
Netvel Inc.                   ||   Cell:  (416)806-0133
alvin at netvel.net              ||



More information about the Info-cyrus mailing list