Tuesday, April 8, 2008

IMAP (bug again)

Wife found she missed several emails recently, and I found all the missing emails are in the inbox, and my IMAP server is sending the headings. After dump the output to a file, I found the subject line has a CRLF in them!! how did that happen? Apparently some email client does allow that to happen (outlook express and Thunderbird only have 1 single line).

So I changed the IMAP server, when it checks for invalid chars on subject, any non-letter char excluding "." will be tagged and the string will be prefixed with length.

Problem solved. What will be the next bug?

No comments: