[Dovecot] imap connection refused

Daniel Wallner daniel.wallner1 at gmail.com
Sat Jul 11 12:19:38 EEST 2009


hi,

mutt -f imap://max@test.local@127.0.0.1
Could not connect to 127.0.0.1 (Connection refused).

lsof -i
dovecot   20200     root    5u  IPv4 233361       TCP localhost:imap2 (LISTEN)
imap-logi 20204  dovecot    0u  IPv4 233361       TCP localhost:imap2 (LISTEN)
imap-logi 20205  dovecot    0u  IPv4 233361       TCP localhost:imap2 (LISTEN)
imap-logi 20206  dovecot    0u  IPv4 233361       TCP localhost:imap2 (LISTEN)


dovecot --version
1.0.15

dovecot -n
# 1.0.15: /etc/dovecot/dovecot.conf
log_path: /var/log/dovecot/error.log
info_log_path: /var/log/dovecot/info.log
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: imap
listen: localhost
ssl_disable: yes
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable: /usr/lib/dovecot/imap-login
mail_location: maildir:/var/spool/maildirs/%d/%n
namespace:
  type: private
  separator: .
  prefix: INBOX.
  inbox: yes
auth default:
  mechanisms: plain login
  passdb:
    driver: pam
  passdb:
    driver: sql
    args: /etc/dovecot/dovecot-mysql.conf
  userdb:
    driver: passwd
  userdb:
    driver: static
    args: uid=5000 gid=5000 home=/var/spool/maildir/%d/%n allow_all_users=yes
  socket:
    type: listen
    client:
      path: /var/run/dovecot/auth-client
      mode: 432
      user: postfix
      group: postfix
    master:
      path: /var/run/dovecot/auth-master
      mode: 384
      user: mailsystem
      group: mailsystem


cat /etc/dovecot/dovecot-mysql.conf
driver = mysql
connect = host=localhost dbname=mailbase user=mailbase password=XXXX
default_pass_scheme = PLAIN
password_query = SELECT password FROM mailusers WHERE account = '%u'


/var/log/dovecot/info.log
dovecot: 2009-07-11 09:07:56 Info: Dovecot v1.0.15 starting up
dovecot: 2009-07-11 09:07:56 Info: auth-worker(default): mysql:
Connected to localhost (mailbase)


any ideas why imap is not working?
thanks


More information about the dovecot mailing list