Ok I didn't have to wait long. Spammers are pretty reliable ;-)
Attached you find a Mysqldump of JAMESMAIL with the where clause
--where='length(MAIL_BYTES)=0'
There are two datasets exported. The First with MAIL_UID 96 is the test
dataset I created that doesn't cause problems
The Second with MAIL_UID 100 is the spam Mail that causes problems.
Simon
On 01.04.2012 10:38, Simon Klaiber wrote:
For the Problem to occur the Body really needs to have a length of 0
When I send a mail wit an empty body with Thunderbird MAIL_BYTES is 2
Bytes long and contains HEX 0D 0A
But you are right even if I clear MAIL_BYTES I cant recreate the
problem.
The Mails that cause the problem are those "completely empty" Spam
Mails you get from time to time. The next I get I will try to export
to find out what the problem is.
Thanks for the Quick Reply
Simon
On 01.04.2012 10:13, Eric Charles wrote:
Hi Simon,
mime4j warning does imply there's a bug.
I sent a mail with nothing in the body, and I can move it from a
folder to another. Have you got a scenario I can replay to show the
issue?
Thx, Eric
On 01/04/12 09:54, Simon Klaiber wrote:
Hello,
after upgrading from James 2 to James 3b3 i encounter Problems when
using IMAP.
They occur as soon there is a Mail with a Empty Mailbody (
length(MAIL_BYTES) = 0) )
I encounter this problem with Thunderbird and with iOS Mail.
It is very obvious but not necessarily limited to when you try to move
such a message to another folder (for instance Junk Mail Controls in
Thunderbird) but also when updating the specific folder from iOS Mail.
In the Logs i get following Warnings when this happens:
jvm 1 | WARN 09:34:02,449 | org.apache.james.mime4j.parser.MimeEntity |
Unexpected end of headers detected. Higher level boundary detected or
EOF reached.
jvm 1 | WARN 09:34:02,449 | org.apache.james.mime4j.parser.MimeEntity |
Invalid header encountered
As soon as I delete these data sets from the JAMES_MAILBOX Table
everything works alright again.
I run on Ubuntu Linux with MySQL as jpa store.
Thanks
Simon
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]