Here is the patch which I did for nul characters. To accept and strip nuls it is necessary to add a setting to imapd.conf:
rejectnul: no otherwis the default is to reject as now. http://web.tiscali.it/mailserver/ Let me know for any feedback. I would recommend using first of all in a test environment. John --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html