[Dovecot] dsync Panic: Unknown key: send_mail_requests

2013-05-29 Thread Oli Schacher
Hi Timo

With the current dovecot hg we're getting dsync replication errors
Panic: Unknown key: send_mail_requests followed by a crash. This
seems to have been introduced somewhere around
http://hg.dovecot.org/dovecot-2.2/rev/4883a8e1db13


Log output from latest hg, 2.2.2 (e7c474011934+):

May 29 09:30:53 munged03 dovecot: doveadm(l...@example.com): Panic: Unknown 
key: send_mail_requests
May 29 09:30:53 munged03 dovecot: doveadm(l...@example.com): Error: Raw 
backtrace: /usr/lib64/dovecot/libdovecot.so.0(+0x5f7da) [0x7f84f84637da] 
- /usr/lib64/dovecot/libdovecot.so.0(+0x5f826) [0x7f84f8463826] 
- /usr/lib64/dovecot/libdovecot.so.0(+0x2006a) [0x7f84f842406a] 
- dovecot/doveadm-server() [0x42c41b] 
- dovecot/doveadm-server() [0x42908b] 
- dovecot/doveadm-server(dsync_brain_master_init+0x1c9) [0x4186f9] 
- dovecot/doveadm-server() [0x416606] 
- dovecot/doveadm-server() [0x40c94f] 
- dovecot/doveadm-server() [0x414b7a] 
- /usr/lib64/dovecot/libdovecot.so.0(io_loop_call_io+0x36) [0x7f84f8472b66] 
- /usr/lib64/dovecot/libdovecot.so.0(io_loop_handler_run+0xa7) 
[0x7f84f8473c17] 
- /usr/lib64/dovecot/libdovecot.so.0(io_loop_run+0x28) [0x7f84f8472b08] 
- /usr/lib64/dovecot/libdovecot.so.0(master_service_run+0x13) [0x7f84f8428ae3] 
- dovecot/doveadm-server(main+0x121) [0x4152c1] 
- /lib64/libc.so.6(__libc_start_main+0xfd) [0x34de41ecdd] 
- dovecot/doveadm-server() [0x40c1b9]
May 29 09:30:53 munged03 dovecot: doveadm(l...@example.com): Fatal: master: 
service(doveadm): child 49077 killed with signal 6 (core dumped)


dovecot -n is attached


Best regards
Oli

-- 
message transmitted on 100% recycled electrons
# 2.2.2 (e7c474011934+): /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-358.6.2.el6.x86_64 x86_64 CentOS release 6.4 (Final) 
auth_master_user_separator = *
auth_mechanisms = plain login
dict {
  acl = mysql:/etc/dovecot/dovecot-dict-shares.conf
  quotadict = mysql:/etc/dovecot/dovecot-dict-quota.conf
}
disable_plaintext_auth = no
doveadm_password = munged
listen = *
login_greeting = munged Dovecot ready.
mail_max_userip_connections = 50
mail_plugins =  quota notify replication
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character 
vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy 
include variables body enotify environment mailbox date
namespace {
  list = children
  location = maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u
  prefix = shared/%%u/
  separator = /
  subscriptions = no
  type = shared
}
namespace inbox {
  inbox = yes
  location = 
  mailbox Drafts {
auto = subscribe
special_use = \Drafts
  }
  mailbox Sent {
auto = subscribe
special_use = \Sent
  }
  mailbox Spam {
auto = subscribe
special_use = \Junk
  }
  mailbox Trash {
auto = subscribe
special_use = \Trash
  }
  prefix = 
  separator = /
  type = private
}
passdb {
  args = /etc/dovecot/dovecot-sql.conf
  driver = sql
}
plugin {
  acl = vfile:/etc/dovecot/acls
  acl_shared_dict = proxy::acl
  mail_replica = tcp:munged04:1337
  quota = dict:::proxy::quotadict
  quota_rule = *:storage=10M:messages=1000
  quota_rule2 = Spam:ignore
  quota_rule3 = Trash:storage=+100M
  quota_warning = storage=95%% quota-warning 95 %u
  quota_warning2 = storage=75%% quota-warning 75 %u
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
}
protocols = pop3 imap lmtp sieve
service aggregator {
  fifo_listener replication-notify-fifo {
user = munged
  }
  unix_listener replication-notify {
user = munged
  }
}
service auth {
  unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0660
user = postfix
  }
  unix_listener auth-master {
group = munged
mode = 0660
user = munged
  }
  user = root
}
service dict {
  unix_listener dict {
mode = 0600
user = munged
  }
}
service doveadm {
  inet_listener {
port = 1337
  }
}
service imap {
  vsz_limit = 2 G
}
service lmtp {
  inet_listener lmtp {
address = 127.0.0.1
port = 24
  }
  process_min_avail = 5
  unix_listener /var/spool/postfix/private/dovecot-lmtp {
group = postfix
mode = 0660
user = postfix
  }
}
service managesieve {
  vsz_limit = 2 G
}
service pop3 {
  vsz_limit = 2 G
}
service quota-warning {
  executable = script /usr/local/bin/quotawarning.py
  unix_listener quota-warning {
mode = 0666
user = munged
  }
  user = munged
}
service replicator {
  process_min_avail = 1
  unix_listener replicator-doveadm {
mode = 0666
  }
}
ssl_cert = /etc/ssl/wildcard.example.com.pem
ssl_key = /etc/ssl/wildcard.example.com.pem
userdb {
  args = /etc/dovecot/dovecot-sql.conf
  driver = sql
}
protocol imap {
  imap_client_workarounds = 
  mail_plugins =  quota notify replication acl imap_acl quota imap_quota
}
protocol pop3 {
  mail_plugins =  quota notify replication quota
  pop3_uidl_format = %08Xu%08Xv
}
protocol sieve {
  managesieve_logout_format = bytes ( in=%i : out=%o )
}
protocol lmtp {
  deliver_log_format = from=%f 

Re: [Dovecot] dsync Panic: Unknown key: send_mail_requests

2013-05-29 Thread Timo Sirainen
On 29.5.2013, at 10.54, Oli Schacher dove...@lists.wgwh.ch wrote:

 With the current dovecot hg we're getting dsync replication errors
 Panic: Unknown key: send_mail_requests followed by a crash. This
 seems to have been introduced somewhere around
 http://hg.dovecot.org/dovecot-2.2/rev/4883a8e1db13

Thanks, fixed: http://hg.dovecot.org/dovecot-2.2/rev/239e0e2098c1