[Dovecot] POP3 Immediate Connection Termination

Kat Wisnosky kat at advancedmicrotargeting.com
Tue Dec 23 00:28:12 EET 2008


Hey everyone... Thanks in advance for any help.

I seem to have the opposite problem that a lot of people have - I've been 
running Dovecot v. 1.0.10 quite successfully for IMAP for several months. 
However, one of our executives has her heart set on being able to get her 
mail via POP3.  It looks to me like I have both configured, but when trying 
to log in via a POP3 or POP3s connection either via a client or through 
telnet, the connection is created than immediately terminated.

Output of dovecot -n:

# 1.0.10: /etc/dovecot/dovecot.conf
base_dir: /var/run/dovecot/
log_path: /var/log/dovecot
info_log_path: /var/log.dovecot.info
log_timestamp: %Y-%M-%d %H:%M:%S
protocols: imap imaps pop3 pop3s
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(pop3): /usr/lib/dovecot/pop3-login
login_greeting: Dovecot ready
login_process_per_connection: no
valid_chroot_dirs: /var/spool/mail
max_mail_processes: 2048
mail_location: maildir:/home/vmail/%d/%n
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(pop3): /usr/lib/dovecot/pop3-login
mail_process_size: 1024
mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3
imap_client_workarounds: delay-newmail outlook-idle netscape-eoh
pop3_uidl_format(default):
pop3_uidl_format(imap):
pop3_uidl_format(pop3): %08Xu%08Xv
pop3_client_workarounds: outlook-no-nuls oe-ns-eoh oe6-fetch-no-new-mail 
outlook-idle
auth default_with_listener:
  mechanisms: plain login
  verbose: yes
  debug: yes
  passdb:
    driver: passwd-file
    args: /etc/dovecot/passwd
  userdb:
    driver: passwd-file
    args: /etc/dovecot/users
  socket:
    type: listen
    client:
      path: /var/spool/postfix/private/auth
      mode: 432
      user: postfix
      group: postfix
    master:
      path: /var/run/dovecot/auth-master
      mode: 384

Output of telnet:
kat at server:~$ telnet localhost pop3
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK Dovecot ready
user catherine at advancedmicrotargeting.com
+OK
pass <redacted>
+OK Logged in.
Connection closed by foreign host.

kat at server:~$ sudo tail /var/log/dovecot
dovecot: 2008-47-22 09:47:58 Error: 
POP3(catherine at advancedmicrotargeting.com): Fatal: EOF while reading 
environment from master
dovecot: 2008-47-22 09:47:58 Error: child 22734 (pop3) returned error 89
dovecot: 2008-48-22 09:48:30 Error: 
POP3(catherine at advancedmicrotargeting.com): Error: Dovecot is already 
running with PID 22317 (read from /var/run/dovecot//master.pid)
dovecot: 2008-48-22 09:48:30 Error: 
POP3(catherine at advancedmicrotargeting.com): Fatal: Invalid configuration in 
/etc/dovecot/dovecot.conf
dovecot: 2008-48-22 09:48:30 Error: 
POP3(catherine at advancedmicrotargeting.com): Fatal: EOF while reading 
environment from master
dovecot: 2008-48-22 09:48:30 Error: child 22745 (pop3) returned error 89
dovecot: 2008-49-22 09:49:02 Error: 
POP3(catherine at advancedmicrotargeting.com): Error: Dovecot is already 
running with PID 22317 (read from /var/run/dovecot//master.pid)
dovecot: 2008-49-22 09:49:02 Error: 
POP3(catherine at advancedmicrotargeting.com): Fatal: Invalid configuration in 
/etc/dovecot/dovecot.conf
dovecot: 2008-49-22 09:49:02 Error: 
POP3(catherine at advancedmicrotargeting.com): Fatal: EOF while reading 
environment from master
dovecot: 2008-49-22 09:49:02 Error: child 22747 (pop3) returned error 89

Let me know if there's anything else that you need/want to see... I have the 
distinct feeling that I fat fingered something in the conf that I'm just 
missing.  Thanks for the extra set(s) of eyes.

Kat






More information about the dovecot mailing list