Dovecot 2.2.22 - doveadm via socket not working

Andreas Jobs andreas.jobs at ruhr-uni-bochum.de
Mon Mar 21 23:33:58 UTC 2016


Hello,

(my) doveadm is no longer working if I use the -S socket_path. 

# doveadm quota get -S mbx7:542 -u myaccount
doveadm(myaccount): Error: doveadm server disconnected before handshake: EOF
doveadm(myaccount): Error: mbx7:542: Command quota get failed for jobsanzl: EOF
Quota name Type Value Limit                                %

The server logs:
Mar 22 00:29:47 doveadm(134.147.53.150): Fatal: USER environment is missing and -u option not used
Mar 22 00:29:47 doveadm(134.147.53.150): Fatal: master: service(doveadm): child 31599 returned error 64

Any hints?


--Andreas
-- 
! Andreas Jobs                                  Network Operation Center !
!                                               Ruhr-Universitaet Bochum !
! One Day I Will Find This Peer Guy and Then I Will Reset HIS Connection !
-------------- next part --------------
# 2.2.22 (fe789d2): /usr/local/dovecot/etc/dovecot.conf
# Pigeonhole version 0.4.13 (7b14904)
# OS: Linux 3.13.0-74-generic x86_64 Ubuntu 14.04.4 LTS 
auth_master_user_separator = *
auth_worker_max_count = 50
dict {
  quota = mysql:/usr/local/dovecot/etc/dovecot-dict-mysql.conf
}
disable_plaintext_auth = no
doveadm_password =  # hidden, use -P to show it
import_environment = TZ CORE_OUTOFMEM CORE_ERROR USER
lda_mailbox_autocreate = yes
lmtp_rcpt_check_quota = yes
lock_method = flock
log_path = /var/log/dovecot.log
login_trusted_networks = 134.147.42.224/28
mail_access_groups = nofiles
mail_fsync = never
mail_location = mdbox:~/mdbox
mail_plugins = " quota zlib mail_log notify virtual"
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext editheader vnd.dovecot.debug vnd.dovecot.filter
mdbox_rotate_size = 5 M
mmap_disable = yes
namespace {
  hidden = no
  inbox = yes
  location = 
  mailbox Drafts {
    special_use = \Drafts
  }
  mailbox Sent {
    special_use = \Sent
  }
  mailbox Trash {
    special_use = \Trash
  }
  mailbox UCE-TMP {
    special_use = \Junk
  }
  prefix = 
  separator = /
  type = private
}
namespace restore {
  hidden = yes
  inbox = no
  list = children
  location = mdbox:/var/qmail/data/emptyreadonlymdbox/
  prefix = "#RESTORE/"
  separator = /
  subscriptions = no
  type = private
}
passdb {
  args = /var/qmail/data/dovecot.disabled
  deny = yes
  driver = passwd-file
}
passdb {
  args = /usr/local/dovecot/etc/dovecot-auth-mysql.conf
  driver = sql
}
passdb {
  driver = pam
}
passdb {
  args = /usr/local/dovecot/etc/passwd.dovcot.master
  driver = passwd-file
  master = yes
}
plugin {
  antispam_allow_append_to_spam = yes
  antispam_backend = spool2dir
  antispam_spam = UCE-TMP;UCE-MELDEN
  antispam_spam_pattern_ignorecase = junk*
  antispam_spool2dir_notspam = /opt/rubmail/data/antispam/ham/ham-%%020lu-%u-%%05lu
  antispam_spool2dir_spam = /opt/rubmail/data/antispam/spam/spam-%%020lu-%u-%%05lu
  antispam_trash = Trash;Papierkorb
  antispam_trash_pattern_ignorecase = gel?scht*;gel&APY-scht*;deleted*
  mail_log_events = mailbox_delete mailbox_rename mailbox_create
  mail_log_fields = uid box msgid size
  quota = dict:User quota:%i:noenforcing:proxy::quota
  quota_over_flag_value = *
  quota_over_script = quota-warning mismatch %u
  sieve_extensions = -reject +editheader +vnd.dovecot.filter +vnd.dovecot.debug
  sieve_filter_bin_dir = /opt/rubmail/sieve_bin
  sieve_max_actions = 200
  sieve_max_redirects = 200
  sieve_plugins = sieve_extprograms
  sieve_quota_max_scripts = 10
  stats_refresh = 30 secs
  stats_track_cmds = yes
}
protocols = pop3 imap lmtp sieve
quota_full_tempfail = yes
sendmail_path = /opt/rubmail/bin/sendmailwrapper.dovecot
service auth {
  client_limit = 5300
  user = root
}
service dict {
  process_limit = 5120
  unix_listener dict {
    group = nofiles
    mode = 0666
  }
}
service doveadm {
  inet_listener {
    port = 542
  }
  vsz_limit = 512 M
}
service imap-hibernate {
  unix_listener imap-hibernate {
    group = 
    mode = 0666
    user = 
  }
}
service imap-login {
  inet_listener imap {
    address = 10.21.8.25
    port = 143
  }
  process_min_avail = 4
  service_count = 0
}
service imap {
  drop_priv_before_exec = yes
  process_limit = 5120
  vsz_limit = 1 G
}
service lmtp {
  executable = lmtp
  inet_listener lmtp {
    address = 10.21.8.25
    port = 24
  }
  process_limit = 50
}
service managesieve-login {
  inet_listener sieve {
    address = 10.21.8.25
  }
}
service pop3-login {
  inet_listener pop3 {
    address = 10.21.8.25
    port = 110
  }
  process_min_avail = 4
  service_count = 0
}
service pop3 {
  drop_priv_before_exec = yes
  process_limit = 2048
  vsz_limit = 512 M
}
service postlogin {
  executable = script-login -d rawlog -t
}
service quota-warning {
  executable = script /opt/rubmail/bin/quota-warning.pl
  unix_listener quota-warning {
    group = nofiles
    mode = 0666
    user = nobody
  }
  user = dovecot
}
service stats {
  fifo_listener stats-mail {
    group = nofiles
    mode = 0666
  }
  unix_listener stats {
    mode = 0666
  }
}
ssl = no
stats_memory_limit = 512 M
userdb {
  driver = prefetch
}
userdb {
  args = /usr/local/dovecot/etc/dovecot-mysql.conf
  driver = sql
}
verbose_proctitle = yes
protocol lda {
  mail_fsync = optimized
  mail_plugins = " quota zlib mail_log notify virtual sieve"
}
protocol lmtp {
  mail_fsync = optimized
  mail_plugins = quota sieve
}
protocol imap {
  mail_max_userip_connections = 30
  mail_plugins = " quota zlib mail_log notify virtual imap_quota antispam"
}


More information about the dovecot mailing list