potential bug in javamail + qmail when email body starts with dots
843830May 6 2006 — edited Sep 26 2006I may have discovered a potential issue with using JavaMail + QMail server. It appears that if there is a message in my mailbox which starts with either one dot ('.') or a series of dots ('...hello there'), when I attempt to do a :
inbox.fetch(messages, profile);
I get the following JavaMail error:
javax.mail.MessagingException: error getting size;
nested exception is:
java.io.IOException: Unexpected response: .
at com.sun.mail.pop3.POP3Message.getSize(POP3Message.java:100)
at com.sun.mail.pop3.POP3Folder.fetch(POP3Folder.java:369)
This issue seems to only occur on qmail. When I try to read the same email starting with one or multiple leading dots, I can retreive it without any issues.
Has anyone else experienced anything of the sort?