I have also no filters that would change the message file and the same situation occured, with two significant facts: - analyzing the message file that caused pop3 session to crash I have found that the message file contained regular message body (itself ending with <cr><lf>) followed by couple of #00 bytes and then some amount of unknown data. System crash would cause the message file to be cut in the middle that was not the situation - our mailserver is on UPS and had no crash for last several months
Lev, maybe analyzing your message file that caused pop3 session to hang would help. Roman At 12:30 16.10.2003 -0700, you wrote: >Davide, I don't have any filters, but I have might restart the >XMail and/or the computer. I assume if I restart Xmail - XMail >will finish job correctly (I mean either finish receiving >messages that already in progress and then shutdown or just add ><cr><lf> at the end of unfinished message), as well as if I >restart computer without shutting down Xmail first. Is that true? > >If that's true, then we just narrowed down the problem to a >system crash. If that's the case, then how important it is for >XMail to expect <cr><lf> a the end of file? Is EOF flag is not >good enough? > > > >Thanks, >Lev Shamilov ><[EMAIL PROTECTED]> > > >On Thu, 16 Oct 2003 11:17:44 -0700 (PDT) >Davide Libenzi <[EMAIL PROTECTED]> wrote: > > > > > On Thu, 16 Oct 2003, Roman Dusek wrote: > > > > > > > > Dear Lev, > > > > > > I have reported the same situation some time ago, it seemed to me that > > > sometimes (in very infrequent conditions) some "unknown data" are > appended > > > to the end of a regular message file so that it doesn't end with > <cr><lf>. > > > Then POP3 session hangs (as XMail by design always adds <cr><lf> to > the end > > > of message file and then expects to have it there in pop3 session). > > > > > > Unfortunately, as this happens very rarely (twice a year on our > system with > > > about 360 mailboxes), Davide doesn't believe this is a XMail problem. > Maybe > > > if you would backup those "bad" messages and send it to Davide would > help ;-) > > > > Messages entering Xmail through SMTP are *always* CRLF terminated. Either > > a filter screws it up or a system crash happened while XMail was copying > > the messages inside the mailbox and the OS do not journal the operation > > correctly. > > > > > > > > - Davide > > > >- >To unsubscribe from this list: send the line "unsubscribe xmail" in >the body of a message to [EMAIL PROTECTED] >For general help: send the line "help" in the body of a message to >[EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]