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
Gerald V. Livingston II
2005-Apr-05 20:18 UTC
[Dovecot] Dovecot 1.0 POP3 login but no mail
On Tue, 5 Apr 2005 15:23:37 +0100 David Wynter <david at 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 at 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
I followed Geralds' instructions and dovecot returns "0 0" to stat cmd and "0 messages:" to list. So it thinks there are zero when there are over 40 in "%h/.maildir". I had not changed my config file before reboot so how can this happen? It worked prior to reboot and not after. I get no maillog errors, what next? Thx. David "David Wynter" <david at stpenable.com> wrote ..> 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