Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I just setup a new mail server called hMailServer on a Windows server after switching from Merak. Most users setup access through Gmail to download their messages via POP3. One user, who has a few thousand emails, keeps getting an error:

Error reading mail. Server returned error "Connection closed by remote host: The other server terminated our connection...."

Once I delete and re-add the account through Gmail, it will download 200 messages, saying XXXX messages remain. Then, about a minute later Gmail gives the Error reading mail warning, with the above error in the "Mail Fetch History". It seems like hMailServer may be rejecting Gmail after 1 attempt?

Below is the hMailServer Status Log:

SENT: +OK POP3
RECEIVED: USER example@example.com
SENT: +OK Send y our password
RECEIVED: PASS ***
SENT: +OK Mailbox locked and ready
RECEIVED: CAPA
SENT: -ERR Invalid command in current state.
RECEIVED: LIST
SENT: +OK 8598 messages (137625842 octets)
SENT: 1 7527[nl]2 1808...
RECEIVED: UIDL
SENT: +OK 8598 messages (1376255842 octets)
RECEIVED: RETR 1
SENT: .
RECEIVED: RETR 2

Can anyone offer any insight into what's going on? Any help is much appreciated.

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.