[Dovecot] Connection refused userdb lookup ..dovecot/auth-userdb

Simon greminn at gmail.com
Mon Mar 24 23:10:47 UTC 2014


On Tue, Mar 25, 2014 at 9:00 AM, Charles Marcus
<CMarcus at media-brokers.com>wrote:


> One more thing... please don't use pastebin... it breaks archives
> (eventually).
>
> Just copy/paste the output directly into the email body (this goes for
> logs too)...


Oh sorry :(

Mar 13 09:50:44 vmail1 postfix/pipe[31090]: 5D4FFA1057: to=<
account1 at thedomainname.com>, relay=dovecot, delay=135007,
delays=135006/0.03/0/1, dsn=4.3.0, status=deferred (temporary failure)
Mar 13 09:55:43 vmail1 postfix/qmgr[1486]: 5220B9FE50: from=<
account2 at thedomainname.com, size=2787, nrcpt=1 (queue active)
Mar 13 09:55:43 vmail1 dovecot: lda: Debug: Loading modules from directory:
/usr/local/dovecot/lib/dovecot
Mar 13 09:55:43 vmail1 dovecot: lda: Debug: Module loaded:
/usr/local/dovecot/lib/dovecot/lib10_quota_plugin.so
Mar 13 09:55:43 vmail1 dovecot: lda: Debug: Module loaded:
/usr/local/dovecot/lib/dovecot/lib90_sieve_plugin.so
Mar 13 09:55:44 vmail1 dovecot: lda: Error: userdb lookup:
connect(/usr/local/dovecot/var/run/dovecot/auth-userdb) failed: Connection
refused
Mar 13 09:55:44 vmail1 dovecot: lda: Fatal: Internal error occurred. Refer
to server log for more information.
Mar 13 09:55:44 vmail1 postfix/pipe[31212]: 5220B9FE50: to=<
account1 at thedomainname.com>, relay=dovecot, delay=136173,
delays=136171/0.03/0/1.1, dsn=4.3.0, status=deferred (temporary failure)

[root at vmail1 vmail]# dovecot -n
# 2.0.9: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-431.el6.centos.plus.x86_64 x86_64 CentOS release 6.5
(Final) xfs
auth_debug = yes
auth_debug_passwords = yes
auth_mechanisms = plain login digest-md5 cram-md5
auth_verbose = yes
debug_log_path = /var/log/dovecot.log
mail_debug = yes
mail_location = maildir:/var/vmail/%d/%n/Maildir
mbox_write_locks = fcntl
passdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
plugin {
  quota = maildir:User quota
  quota_rule = *:storage=512M
  quota_rule2 = Trash:storage=+10%%
  quota_warning = storage=95%% quota-warning 95 %u
  quota_warning2 = storage=50%% quota-warning 50 %u
}
service auth {
  unix_listener auth-userdb {
    group = vmail
    mode = 0666
    user = vmail
  }
}
service quota-warning {
  executable = script /var/vmail/quota-warning.sh
  unix_listener quota-warning {
    user = vmail
  }
  user = dovecot
}
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_key = </etc/pki/dovecot/private/dovecot.pem
userdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
protocol lda {
  mail_plugins = quota
}
protocol imap {
  mail_plugins = quota imap_quota
  ssl_cert = </etc/ssl/dovecot/imap.pem
  ssl_key = </etc/ssl/dovecot/imap.pem
}
protocol pop3 {
  mail_plugins = quota
  ssl_cert = </etc/ssl/dovecot/pop.pem
  ssl_key = </etc/ssl/dovecot/pop.pem
}

# ls -al
total 28
drwxr-xr-x. 5 root    root     4096 Aug 17  2013 .
drwxr-xr-x. 3 root    root     4096 Jul 13  2013 ..
srw-------. 1 root    root        0 Jul 18  2013 anvil
srw-------. 1 root    root        0 Jul 18  2013 anvil-auth-penalty
srw-------. 1 root    root        0 Jul 18  2013 auth-client
srw-------. 1 dovecot root        0 Jul 18  2013 auth-login
srw-------. 1 root    root        0 Jul 18  2013 auth-master
-rw-------. 1 root    root       32 Jul 13  2013 auth-token-secret.dat
srwxrwxrwx. 1 vmail   vmail       0 Jul 18  2013 auth-userdb
srw-------. 1 dovecot root        0 Jul 18  2013 auth-worker
srw-------. 1 root    root        0 Jul 18  2013 config
srwxrwxrwx. 1 vmail   vmail       0 Jul 18  2013 dict
srw-------. 1 root    root        0 Jul 18  2013 director-admin
srw-------. 1 root    root        0 Jul 18  2013 director-userdb
srw-rw-rw-. 1 root    root        0 Jul 18  2013 dns-client
srw-------. 1 root    root        0 Jul 18  2013 doveadm-server
lrwxrwxrwx. 1 root    root       43 Jul 18  2013 dovecot.conf ->
/usr/local/dovecot/etc/dovecot/dovecot.conf
drwxr-xr-x. 2 root    root     4096 Jul 13  2013 empty
srw-rw-rw-. 1 root    root        0 Jul 18  2013 imap-urlauth
srw-------. 1 dovecot root        0 Jul 18  2013 imap-urlauth-worker
srw-rw-rw-. 1 root    root        0 Jul 18  2013 indexer
srw-------. 1 dovecot root        0 Jul 18  2013 indexer-worker
srw-------. 1 root    root        0 Jul 18  2013 ipc
srw-------. 1 root    root        0 Jul 18  2013 log-errors
drwxr-x---. 2 root    dovenull 4096 Jul 18  2013 login
-rw-r--r--. 1 root    root       40 Jul 18  2013 mounts
srw-------. 1 vmail   root        0 Jul 18  2013 quota-warning
srw-------. 1 root    root        0 Jul 18  2013 replication-notify
prw-------. 1 root    root        0 Jul 18  2013 replication-notify-fifo
srw-------. 1 dovecot root        0 Jul 18  2013 replicator
srw-rw-rw-. 1 root    root        0 Jul 18  2013 ssl-params
srw-------. 1 root    root        0 Jul 18  2013 stats
prw-------. 1 root    root        0 Jul 18  2013 stats-mail
drwxr-x---. 2 root    dovenull 4096 Jul 18  2013 token-login


More information about the dovecot mailing list