POP3 server disconnects immediately after login

When connecting to your server's POP3 service, your client might provide this error just after authentication:

The connection to the server was interrupted.

Your best bet is to check the mail log and see exactly what the problem is:

web pop3-login: Login: john [192.168.0.5]
pop3(john): Invalid mbox file /var/spool/mail/john: No such file or directory
pop3(john): Failed to create storage with data: mbox:/var/spool/mail/john
dovecot: child 29864 (pop3) returned error 89

In this case, the mbox file has become corrupt (possible from malformed 'From' headers). You have the option of repairing the issues within the file, or you can simply create a new mail spool for the user.

Printed from: http://rackerhacker.com/2007/08/22/pop3-server-disconnects-immediately-after-login/ .
© Major Hayden 2012.

Leave a Reply

 

  • Welcome! I started this blog as a way to give back to all of the other system administrators who have taught me something in the past. Writing these posts brings me a lot of enjoyment and I hope you find the information useful. If you spot something that's incorrect or confusing, please write a comment and let me know. Drop me a line if there's something you want to know more about and I'll do my best to write a post on the topic.
    -- Major Hayden

    Flattr this