Re: Doveadm backup issues on dovecot 2.3.1

2018-04-02 Thread Aki Tuomi

> On 02 April 2018 at 19:19 Ricardo Machini Barbosa  
> wrote:
> 
> 
> Hello,
> 
>  
> 
> After update dovecot from 2.3.0.1 to 2.3.1 the doveadm backup stopped to
> work.
> 
>  
> 
> Command line:
> 
> doveadm -D backup -u em...@dominio.com.br -R tcp:mailsrv01:9011
> 
>  

Can you provide output of 

doveadm -Dv backup -u em...@dominio.com.br -R tcp:mailsrv01:9011

Aki


Doveadm backup issues on dovecot 2.3.1

2018-04-02 Thread Ricardo Machini Barbosa
Hello,

 

After update dovecot from 2.3.0.1 to 2.3.1 the doveadm backup stopped to
work.

 

Command line:

doveadm -D backup -u em...@dominio.com.br -R tcp:mailsrv01:9011

 

I updated dovecot on mailsrv01 to 2.3.1.

 

Process on mailsrv01 (the count message stop and process stay this way until
be killed - this occurs on different mailbox’s)

dovecot/doveadm-server [10.0.10.5 em...@dominio.com.br Cotacao Fornecedores
export:6/86]

 

Strace on this process:

[pid 15644] epoll_wait(7, {}, 2, 4816)  = 0

[pid 15644] epoll_wait(7, {}, 2, 5000)  = 0

[pid 15644] close(22)   = 0

[pid 15644] munmap(0x7f2927aeb000, 872) = 0

[pid 15644] close(25)   = 0

[pid 15644] close(21)   = 0

[pid 15644] munmap(0x7f2927aec000, 10744) = 0

[pid 15644] close(20)   = 0

[pid 15644] munmap(0x7f2927ad4000, 37540) = 0

[pid 15644] close(23)   = 0

[pid 15644] close(19)   = 0

[pid 15644] close(11)   = 0

[pid 15644] epoll_wait(7, {}, 2, 20174) = 0

 

Some informations:

uname -a

Linux mailsrv01 2.6.32-696.23.1.el6.x86_64 #1 SMP Tue Mar 13 22:44:18 UTC
2018 x86_64 x86_64 x86_64 GNU/Linux

 

dovecot --version

2.3.1 (c5a5c0c82)

 

dovecot -n

# 2.3.1 (c5a5c0c82): /etc/dovecot/dovecot.conf

# Pigeonhole version 0.5.devel (61b47828)

# OS: Linux 2.6.32-696.23.1.el6.x86_64 x86_64 CentOS release 6.9 (Final)

# Hostname: mailsrv01

auth_master_user_separator = *

auth_verbose_passwords = sha1

default_client_limit = 2000

deliver_log_format = subject=%s from:%f sender:%e to: %{to_envelope} size:%p
msgid=%m status=%$ delivery_time=%{delivery_time}
session_time=%{session_time}

disable_plaintext_auth = no

doveadm_allowed_commands = quota get,dsync-server,kick,purge,fts
rescan,altmove,mailbox list,expunge,mailbox status

doveadm_password =  # hidden, use -P to show it

lda_mailbox_autocreate = yes

lda_mailbox_autosubscribe = yes

lmtp_rcpt_check_quota = yes

login_greeting = IMAP4.

login_trusted_networks = x.x.x.x/24

mail_fsync = never

mail_gid = xxx

mail_location = mdbox:~/mdbox:ALT=/altstorage%h/mdbox

mail_plugins = quota quota_clone fts fts_solr zlib

mail_uid = xxx

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 ihave duplicate
vnd.dovecot

.filter

namespace inbox {

  inbox = yes

  list = yes

  location =

  mailbox "Itens Enviados" {

auto = subscribe

special_use = \Sent

  }

  mailbox "Itens Excluídos" {

auto = subscribe

special_use = \Trash

  }

  mailbox Rascunhos {

auto = subscribe

special_use = \Drafts

  }

  mailbox Spam {

auto = subscribe

special_use = \Junk

  }

  prefix =

  separator = .

}

passdb {

  args = /etc/dovecot/dovecot-ldap.conf.ext

  driver = ldap

}

plugin {

  fts = solr

  fts_solr = url=http://x.x.x.x:8983/solr/dovecot/

  imapsieve_mailbox1_before = file:/etc/dovecot/antispam/report-spam.sieve

  imapsieve_mailbox1_causes = COPY

  imapsieve_mailbox1_name = Spam

  imapsieve_mailbox2_before = file:/etc/dovecot/antispam/report-ham.sieve

  imapsieve_mailbox2_causes = COPY

  imapsieve_mailbox2_from = Spam

  imapsieve_mailbox2_name = *

  last_login_dict = redis:host=x.x.x.x:port=6379

  quota = count:User quota

  quota_clone_dict = redis:host=x.x.x.x:port=6379

  quota_rule = *:bytes=0

  quota_rule2 = Itens Excluídos:storage=+xM

  quota_vsizes = yes

  quota_warning = storage=95%% quota-warning 95 %u

  quota_warning2 = storage=80%% quota-warning 80 %u

  sieve = ~/.dovecot.sieve

  sieve_before = /etc/dovecot/sieve/audit.sieve

  sieve_before2 = /etc/dovecot/sieve/duplicate.sieve

  sieve_before3 = /etc/dovecot/sieve/spam.sieve

  sieve_dir = ~/sieve

  sieve_global_extensions = +vnd.dovecot.pipe

  sieve_pipe_bin_dir = /etc/dovecot/antispam

  sieve_plugins = sieve_imapsieve sieve_extprograms

  sieve_vacation_default_period = 7d

  sieve_vacation_max_period = 30d

  sieve_vacation_min_period = 1h

}

protocols = imap pop3 lmtp sieve

service anvil {

  client_limit = 2000

}

service auth {

  client_limit = 2000

}

service doveadm {

  inet_listener {

port = 9011

  }

  inet_listener http {

port = 9010

  }

  vsz_limit = 768 M

}

service imap-login {

  process_limit = 800

  process_min_avail = 200

  service_count = 1

  vsz_limit = 512 M

}

service imap-postlogin {

  executable = script-login dovecot-postlogin imap

  unix_listener imap-postlogin {

user = mail

  }

  user = $default_internal_user

}

service imap {

  executable = imap imap-postlogin

  process_limit = 2

  vsz_limit = 768 M

}

service indexer-worker {

  vsz_limit = 512 M

}

service lmtp {

  inet_listener lmtp {

address = *

port = 24

  }

  vsz_limit = 512 M

}

service managesieve-login {

  inet_listener sieve {