[Dovecot] Dovecot 1.0 POP3 login but no mail
Dovecot is installed on the hosted FC1 server I have, it was working fine until yesterday when they had to bounce the server. I can login fine from Outlook or connect telnet <hostname> 110. But even though I can see sendmail has received mail into my %h/.maildir (via webmail's user mail facility) when I log into dovecot via Outlook it does not retrieve any of it.
I tried from W2K "telnet <hostname> 110", it connects "+OK dovecot ready.", then I typed "LOGIN <username> <password>" and i get "-ERR Unknown command.". However with Outlook it logs in fine I see in maillog the result, no other errors in maillog. Cannot see what is wrong. Here are the important bits of my dovecot.conf, everything else is std. i.e. commented out
protocols = pop3 login = imap login = pop3 default_mail_env = maildir:%h/.maildir client_workarounds = outlook-idle mbox_locks = fcntl auth = default auth_userdb = passwd auth_passdb = pam auth_user = root auth_verbose = yes
Ideas on where to look next?
Thx
David
On Tue, 5 Apr 2005 15:23:37 +0100 David Wynter david@stpenable.com wrote:
I tried from W2K "telnet <hostname> 110", it connects "+OK dovecot ready.", then I typed "LOGIN <username> <password>" and i get "-ERR Unknown command.". However with Outlook it logs in fine I see in maillog the result, no other errors in maillog.
"LOGIN" is not a valid POP3 command -- it is an authentication method.
Depending on what auth methods you have enabled the password you have to send during a login sequence may have to be CRYPTed before typing it in.
Here is the sequence for logging in via telnet to check what the server thinks is in your mail directory.
(Yes, it says AVG POP3 Proxy server -- that's the virus gateway installed on the windows machine I am doing this from -- it opens a clean pipe to the Dovecot server at the other end of the "telnet myserver.domain.tld 110" command.
telnet myserver.domain.tld 110 +OK AVG POP3 Proxy Server 7.0.307/7.0.308 [266.9.1] user myuser@mydomain.tld +OK pass mypass +OK Logged in. stat +OK 7 15831 list +OK 7 messages: 1 1328 2 1280 3 945 4 1279 5 4671 6 3153 7 3175
Found it, somehow when the machine was rebooted sendmail had it's conf changed to use mbox, not maildir, I was looking at old files in maildir. Maybe the sysadmins at the hosting co. put in a std config for sendmail (since the machine had locked up) when they brought it up, don't know.
Thx,
David
-----Original Message----- From: dovecot-bounces@dovecot.org [mailto:dovecot-bounces@dovecot.org]On Behalf Of Gerald V. Livingston II Sent: 05 April 2005 21:18 To: dovecot@dovecot.org Subject: Re: [Dovecot] Dovecot 1.0 POP3 login but no mail
On Tue, 5 Apr 2005 15:23:37 +0100 David Wynter david@stpenable.com wrote:
I tried from W2K "telnet <hostname> 110", it connects "+OK dovecot ready.", then I typed "LOGIN <username> <password>" and i get "-ERR Unknown command.". However with Outlook it logs in fine I see in maillog the result, no other errors in maillog.
"LOGIN" is not a valid POP3 command -- it is an authentication method.
Depending on what auth methods you have enabled the password you have to send during a login sequence may have to be CRYPTed before typing it in.
Here is the sequence for logging in via telnet to check what the server thinks is in your mail directory.
(Yes, it says AVG POP3 Proxy server -- that's the virus gateway installed on the windows machine I am doing this from -- it opens a clean pipe to the Dovecot server at the other end of the "telnet myserver.domain.tld 110" command.
telnet myserver.domain.tld 110 +OK AVG POP3 Proxy Server 7.0.307/7.0.308 [266.9.1] user myuser@mydomain.tld +OK pass mypass +OK Logged in. stat +OK 7 15831 list +OK 7 messages: 1 1328 2 1280 3 945 4 1279 5 4671 6 3153 7 3175
participants (3)
-
David Wynter
-
David Wynter at roamware
-
Gerald V. Livingston II