hi guys, we are experiencing this particular problem with one of the webmail server we manage. the server is using dovecot as pop3 and imap server while sendmail is being used as mta. when this user tries to login via telnet, this is what i've got: $ telnet localhost pop3 Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. +OK dovecot ready. user user1 +OK pass password +OK Logged in. -ERR No INBOX for user. Connection closed by foreign host. when i looked at the maillog i saw this: Apr 25 20:52:32 samplemail pop3(samplemail): File isn't in mbox format: /var/mail/samplemail Apr 25 20:52:32 samplemail pop3(samplemail): File isn't in mbox format: /var/mail/samplemail Apr 25 20:52:32 samplemail pop3(samplemail): Couldn't open INBOX: Internal error occured. Refer to server log for more information. [2007-04-25 20:52:32] tried google but not much of help, they just suggested to update or replace dovecot. i already update dovecot and made some changes to default_mail_env parameter, still the same result. dovecot version is 0.99 on a fedora 4 box any idea?
> tried google but not much of help, they just suggested to update or replace > dovecot. i already update dovecot and made some changes to default_mail_env > parameter, still the same result. > > dovecot version is 0.99 on a fedora 4 box > > any idea?You said you tried to update - to what version? If 1.0.0 (the NEW, actual 1.0 release just released this month), did you read the update instructions? There were some major config file changes, so it is not an update that you can perform blindly. -- Best regards, Charles
On 4/26/07, Charles Marcus <CMarcus at media-brokers.com> wrote:> > > tried google but not much of help, they just suggested to update or > replace > > dovecot. i already update dovecot and made some changes to > default_mail_env > > parameter, still the same result. > > > > dovecot version is 0.99 on a fedora 4 box > > > > any idea? > > You said you tried to update - to what version? If 1.0.0 (the NEW, > actual 1.0 release just released this month), did you read the update > instructions? There were some major config file changes, so it is not an > update that you can perform blindly. > > i updated via yum update dovecot command, i think it is still version 0.99 > . >
On 4/29/07, Charles Marcus <CMarcus at media-brokers.com> wrote:> > > finally i was able to determine the root cause of the problem, it was > due > > to the user corrupted mbox, the solution was to delete the 1st two lines > of > > the /var/mail/username file, restarted dovecot and whoala, i can now > telnet > > successfully. > > This is a well-known bug in the 0.99 series... > > It is still highly recommended that you upgrade to 1.0.0 if possible... > > -- > > yes, partly true, but i think no matter what imap/pop server you use as > long as it is in mbox, it will get corrupted. >