Segfault on "doveadm sync -u tcp::port"

2015-05-25 Thread Listas@Adminlinux
Hi! When I run "doveadm sync -u tcp:192.168.0.2:12345", I get this error: http://pastebin.com/NxyyNGJk Only to one specific user... I've tried to repair with "doveadm force-resync", unsuccessfully. Is this known? Ubuntu14.04 + Dovecot-2.2.15. My doveconf -n: http://pastebin.com/25sURwJL T

Re: Couldn't create lock .dovecot-sync.lock

2015-05-22 Thread Listas@Adminlinux
These permissions are sufficient. Right? if I run manually: doveadm sync -u tcp:: the directory /var/lib/imap/user/6a/ is created correctly Em 20-05-2015 10:10, Listas@Adminlinux escreveu: dsync-server(): Error: Couldn't create lock /var/lib/imap/user/6a//.dovecot-sync.lock: No such fi

Re: Couldn't create lock .dovecot-sync.lock

2015-05-20 Thread Listas@Adminlinux
My users are like this "username=domain_name". Could the '=' character be the reason? Despite my settings always worked: # doveconf auth_username_chars auth_username_chars = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@= All opinions are welcome. Thanks! -- Thiago Henri

Understanding the "doveadm replicator status" output

2015-05-19 Thread Listas@Adminlinux
Where can I get more detailed information about the output of the 'doveadm replicator status' ? man doveadm-replicator isn't enough. For example, Total number of known users = 29409, but the server has only 17667 users. This is confusing. Look: # doveadm user '*' |wc -l 17667 # doveadm replic

Should I use "dsync_remote_cmd" with dsync via tcp?

2015-05-18 Thread Listas@Adminlinux
Hi, By the Documentation the directive "dsync_remote_cmd" seems to me required only to dsync via ssh. Is this right? I have set dsync via tcp. Should I have set "dsync_remote_cmd" ? Thanks! Thiago Henrique

Failure at run doveadm deduplicate

2015-05-18 Thread Listas@Adminlinux
Hi, In my server, accounts are receiving many doubled emails in its mailbox. In some accounts the "doveadm deduplicate" is doing nothing, even if there are duplicate messages. But in some cases, this error has left me particularly concerned: # doveadm deduplicate -u -m ALL doveadm(): Panic:

Many Duplicated messages after migrate from 2.0.19 to 2.2.15

2015-05-15 Thread Listas@Adminlinux
Hi, In my company, we have several failover clusters (~50k accounts per cluster) with Ubuntu12.04 and Dovecot-2.0.19 (without dsync, replication at block level with DRBD). We are migrating to active/active clusters with Ubuntu14.04 and Dovecot-2.2.15 with replication via dovecot-dsync. Each

Re: Upstart script for Poolmon

2015-02-03 Thread Listas@Adminlinux
; exit 0; } end script script exec $CMD --socket=$DIRECTOR_SOCKET $DEBUG --interval=$INTERVAL end script Thanks! -- Thiago Henrique Em 30-01-2015 13:58, Listas@Adminlinux escreveu: Hi My servers are Ubuntu 14.04 and I'm needing to make a Upstart script for Poolmon. Does someone alread

Upstart script for Poolmon

2015-01-30 Thread Listas@Adminlinux
Hi My servers are Ubuntu 14.04 and I'm needing to make a Upstart script for Poolmon. Does someone already made this and could to share with us ? Thanks! -- Thiago henrique

Re: Designing an Object Storage Plugin for a specific platform

2015-01-02 Thread Listas@Adminlinux
Did someone has already developed something similar and have any tips for me? Thanks! -- Thiago Henrique Em 29-12-2014 13:09, Listas@Adminlinux escreveu: Hi! I'm planning to develop a OSP (Object Storage Plugin) to support a specific platform of my company. Is there any API documentati

Designing an Object Storage Plugin for a specific platform

2014-12-29 Thread Listas@Adminlinux
Hi! I'm planning to develop a OSP (Object Storage Plugin) to support a specific platform of my company. Is there any API documentation or sample code of a simple plugin that can be used as a basis for an implementation? Thanks! -- Thiago Henrique

Re: Configure Dovecot Master User

2014-09-12 Thread Listas@Adminlinux
Replace "a login mailadm*master master_password" for "a login master*clovis master_password" -- Thiago Em 11-09-2014 11:37, Clovis Tristao escreveu: a login mailadm*master master_password

Re: My Dsync isn't replicating 'EXPUNGE' IMAP command

2014-09-10 Thread Listas@Adminlinux
Dsync really is not working for EXPUNGE Imap command. This seems to be a bug in version 2.2.13. Someone else was touched by it? Thanks! Thiago Em 09-09-2014 15:56, Listas@Adminlinux escreveu: Hi! I have two Dovecot-2.2.13 servers with Dsync Replication: server1 and server2. When I execute

My Dsync isn't replicating 'EXPUNGE' IMAP command

2014-09-09 Thread Listas@Adminlinux
Hi! I have two Dovecot-2.2.13 servers with Dsync Replication: server1 and server2. When I execute 'EXPUNGE' on server1 side, the messages with FLAG \Deleted are expunged only on server1. The message is still present in Server2. Could someone give me a hint reason for this ? Thanks in advan

Re: Configure Dovecot Master User

2014-09-08 Thread Listas@Adminlinux
Hi Clovis, try something like this: **In this example you should have your users in a MySQL database. On /etc/dovecot/conf.d/10-auth.conf file add this: # Master login *master-user auth_master_user_separator = * # Use for master login passdb { args = /etc/dovecot/dovecot-sql-master.conf

Re: Trying Dovecot Replication with dsync

2014-09-04 Thread Listas@Adminlinux
->backend mapping). But I'm having problems yet. Like this: dsync-server(account=domaintest.com): Error: Couldn't create lock /var/lib/imap/account=domaintest.com/.dovecot-sync.lock: No such file or directory Thanks!! -- Thiago Henrique Em 14-08-2014 16:28, Listas@Adminlinux escreveu:

dsync-server couldn't create .dovecot-sync.lock file

2014-09-02 Thread Listas@Adminlinux
My dovecot stores users' emails on /var/spool/imap/ and stores the messages index on /var/lib/imap/. I have many users who do not yet have their userdb_home directories created on the server, because that is created at the time of first login. I'm testing dsync for replication and have seen t

Re: About Dovecot cluster and filesystems...

2014-08-29 Thread Listas@Adminlinux
Thank you Andreas!! > If you keep two separate storage areas you will have to figure out > how to sync them. But Dovecot Replication with dsync via tcp solves it. Right? Regards -- Thiago Henrique Em 29-08-2014 08:41, Andreas Kasenides escreveu: This is what http://wiki2.dovecot.org/Director

About Dovecot cluster and filesystems...

2014-08-28 Thread Listas@Adminlinux
Hi all! Does dovecot cluster (with Proxy/Director) work only distributed filesystems (like NFS) ? Is Dovecot-replication + Ext4 recommended for production environments? Thanks! -- Thiago Henrique

About network throughput between Director and backends

2014-08-21 Thread Listas@Adminlinux
I plan to migrate my Dovecot IMAP servers to a clustered structure. I'm planning a cluster with high availability and load balancing. I know I need instances of Dovecot Proxy / Director. But these instances can be on another network? There is need for high network throughput between the Direct

Trying Dovecot Replication with dsync

2014-08-14 Thread Listas@Adminlinux
Hi, I have a failover cluster for mail server with: Ubuntu12.04 + DRBD (for block replication) + Ext4 filesystem + Dovecot-2.0.19-2 with Mdbox It works fine with ~50k accounts. My cluster design: http://adminlinux.com.br/cluster_design.txt I plan to test Dovecot Replication with dsync to buil