Page 1 of 1

SERIOUS ERROR IMAP Server

Posted: Sat Aug 26, 2006 4:59 am
by daflyte
Hello,

I have big and urgent troubles opening one special sort of mails for 2 days. Before, there wasn't any problem with those mails. Within 2 days the server wrote a fatal logfile with a size of over 130mb...

In thunderbird I cannot open the mails, but when I copy them to a local folder there isn't any problem in working with them... This, and the fact that scalix didn't have a problem so far means that they can't be suddenly corrupt.

In SWA, the subject "MAIL SERVER ERROR: Sorry, but this is not a valid MIME email message" appears. Even said: 2 days before it was a valid MIME email! These mails are created by a website with customerdata and a inbound rtf-file, that's why I don't want to show their code here.

Scalix fatal logfile shows hundreds or better thousands of times following output:

[code]SERIOUS ERROR IMAP Server Da(IMAP Server Pr) Sat Aug 26 10:17:15 2006
[OM 10270] Process about to terminate due to error.
Signal (Segmentation Violation) trapped by process 18794
Procedure trace follows:
<- im_OpenItem
<- sfl_OpenSfl
<- sfl_OpenItem
<- im_OpenItem
-> sfl_CloseItem
<- sfl_CloseItem
<- msl_loadMime_
<- msl_outputBodyStructure
<- imapMimeGetStructure
-> imapparse_structure
-> parseEnvelopeStructure
<- parseEnvelopeStructure
<- imapparse_structure
<- getStructure
<- getMessageInfo
-> sendMessageInfo
User Name: Carola T / swp/CN=Carola T
Pid of logging process: 18794


SERIOUS ERROR IMAP Server Da(IMAP Server Pr) Sat Aug 26 10:17:15 2006
[OM 10272] BACKTRACE:
/opt/scalix/lib/libom_er.so(er_add_backtrace+0xc6)[0x5557b3f6]
/opt/scalix/lib/libom_er.so[0x5557b6c5]
/opt/scalix/lib/libom_er.so(er_DumpProcAndExit+0x1f)[0x5557b84f]
[0xffffe500]
in.imap41d[0x805abb5]
in.imap41d[0x805e56e]
in.imap41d[0x805fff5]
in.imap41d[0x8060c6c]
/lib/tls/libc.so.6(__libc_start_main+0xd0)[0x556eb210]
in.imap41d[0x804d9f1]


Posted: Tue Aug 29, 2006 1:19 pm
by ScalixSupport
You've got at least one message in your inbox that contains invalid mime. Once the imap server encounters this the server generates the fatal error and is unable to display the rest of the inbox.

To get your inbox displaying messages again properly you will have to access your mailbox with another client, outlook or thunderbird. Create a temporary folder. Move all of your inbox messages to that folder. Then start moving messages back into the inbox, look at the mailbox with swa, do all messages display? If yes, move more messages back. Repeat. Eventually you will find the message that is causing the problem.

Work is being done to make the imap server more robust in its ability to handle invalid mime. You will see improvement in our next major release due Q4.

Regards,
Don