Displaying 20 results from an estimated 80 matches for "dsync_remote_cmd".
2015 May 18
0
Should I use "dsync_remote_cmd" with dsync via tcp?
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
2012 Mar 15
1
replication howto
...ser = vmail
mode = 0600
}
}
service replicator {
# start replication at startup
process_min_avail = 1
}
plugin {
# host1 replicates to host2
mail_replica = remote:vmail at host2.example.com
# host2 replicates to host1
#mail_replica = remote:vmail at host1.example.com
}
#dsync_remote_cmd = ssh -l%{login} %{host} doveadm dsync-server -u%u
-l%{lock_timeout} -n%{namespace}
service doveadm {
# if you're using a single virtual user, set this to
# start ssh as vmail (not root)
user = vmail
}
--
Rispetta l'ambiente: se non ti ? necessario, non stampare questa mail.
***...
2014 Mar 12
1
dovecot 2.2.9 replication
...//
//# 2.2.9: /etc/dovecot/dovecot.conf//
//# OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.4 ext4//
//auth_debug = yes//
//auth_debug_passwords = yes//
//auth_mechanisms = plain login//
//auth_socket_path = /var/run/dovecot/auth-master//
//base_dir = /var/run/dovecot///
//disable_plaintext_auth = no//
//dsync_remote_cmd = /usr/bin/ssh -l Debian-exim %{host}
/usr/bin/doveadm dsync-server -u//%u//-l%{lock_timeout} -n%{namespace}//
//first_valid_gid = 103//
//first_valid_uid = 101//
//listen = *//
//mail_access_groups = mail,Debian-exim,dovecot//
//mail_debug = yes//
//mail_full_filesystem_access = yes//
//mail_gid =...
2015 Sep 16
1
Messages lost from imap folders
...=
log_path =
mail_plugins = quota notify replication
postmaster_address = sysadmin at example.com
sendmail_path = /usr/lib/sendmail
}
userdb {
args = /etc/dovecot/dovecot-usrdb-ldap.conf
driver = ldap
}
passdb {
args = /etc/dovecot/dovecot-passdb-ldap.conf
driver = ldap
}
dsync_remote_cmd = ssh -l root vmail1.example.com doveadm dsync-server -u%u
replication_dsync_parameters = -d -N -l 30 -U
plugin {
mail_replica = remote:vmail at vmail1.example.com
}
plugin {
quota = maildir:User quota
quota_rule = *:storage=5G
quota_rule2 = Trash:storage=+3%%
quota_warning = stora...
2014 Jun 03
2
Replication with virtual users and static userdb possible ?
...#39;s not available for a static userdb. The wiki
http://wiki2.dovecot.org/UserDatabase/Static also says that it shouldn't
be a problem because it will use do a passdb lookup instead (except for
PAM which isn't used here).
Unfortunately, it's not working. I've
testing with ssh :
dsync_remote_cmd = ssh -l vmail %{host} doveadm
dsync-server -u%u -l%{lock_timeout} -n%{namespace}
mail_replica =
remote:vmail at server2.domain.com
as well as with straight tcp (SSL for
later)
mail_replica = tcp:server2.domain.com:999
/var/log/mail.err
shows the problems ...
Jun 3 11:30:53 server1 dovecot:...
2018 Sep 02
1
online conversion using replication?
...ecuted:
doveadm backup -u <username> -n inbox mdbox:/var/mail/<domain>/<user>/mdbox
For a few users - but reading the docs leads me to believe I can
automate this.? But there's no explicit example for this - so I'm not
sure what to set.
Initially I'm thinking of:
dsync_remote_cmd = doveadm backup -u %u -n inbox mdbox:/var/mail/%d/%n/mdbox
and if that's right - which other services/listeners do I need to setup?
--
Daniel
2012 Apr 10
0
Dsync test on 2.1.3
...n-notify-fifo {
user = vmail
mode = 0666
}
unix_listener replication-notify {
user = vmail
mode = 0666
}
}
service replicator {
# start replication at startup
process_min_avail = 1
}
plugin {
#host1 replicates to host2
mail_replica = remote:root at backup_server
}
#dsync_remote_cmd = ssh -l%{login} %{host} doveadm dsync-server -u%u
-l%{lock_timeout} -n%{namespace}
dsync_remote_cmd = ssh -l root %{host} doveadm dsync-server -u%{user}
-l%{10} -n%{namespace}
service doveadm {
user = root
}
And in backup server :
service doveadm {
user = root
}
1. Problem is I am not getti...
2019 Dec 17
2
DSync replication error
...or.
The following are set to enable the "replication" plug-in
/etc/dovecot/conf.d/10-mail.conf
*---mail_plugins = notify replication---*
And I made the following file
/etc/dovecot/conf.d/30-dsync.conf
*---service replicator { process_min_avail = 1} dsync_remote_cmd = ssh
-l%{login} %{host} doveadm dsync-server -u%uplugin { mail_replica =
remote:root@"ServerIP"} service aggregator { fifo_listener
replication-notify-fifo { user = mail } unix_listener
replication-notify { user = mail }} service replicator { unix_listener
replicator-doveadm...
2012 Mar 04
4
dsync replication available for testing
...ser = vmail
mode = 0600
}
}
service replicator {
# start replication at startup
process_min_avail = 1
}
plugin {
# host1 replicates to host2
mail_replica = remote:vmail at host2.example.com
# host2 replicates to host1
#mail_replica = remote:vmail at host1.example.com
}
#dsync_remote_cmd = ssh -l%{login} %{host} doveadm dsync-server -u%u
-l%{lock_timeout} -n%{namespace}
service doveadm {
# if you're using a single virtual user, set this to
# start ssh as vmail (not root)
user = vmail
}
2013 Nov 16
0
Replication Setup
...dsync doesn't use compatible
protocol
Please can someone help me diagnose?
Cheers, D
Here are my dovecot in outputs:
syd1:
# 2.2.5: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-358.23.2.el6.x86_64 x86_64 CentOS release 6.4 (Final)
auth_mechanisms = plain login
disable_plaintext_auth = no
dsync_remote_cmd = ssh -q -o StrictHostKeyChecking=no -i
/home/vmail/.ssh/id_ecdsa root@%{host} doveadm dsync-server -u%u
mail_location = maildir:~/Maildir
mail_plugins = " notify replication"
mbox_write_locks = fcntl
namespace inbox {
inbox = yes
location =
mailbox Drafts {
special_use = \Dra...
2014 Feb 11
1
Fatal: All your namespaces have a location setting.
...etting. It should be empty (default mail_location) in the namespace to be converted.
i am stuck with this as i cannot find any resolution on the web, here are my config details:
doveconf -n
# 2.1.7: /etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.4
disable_plaintext_auth = no
dsync_remote_cmd = ssh -l%{login} %{host} doveadm dsync-server -u%u
mail_plugins = " notify replication"
mail_privileged_group = mail
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational r...
2014 Mar 28
2
dsync replication questions
I am running two servers with Dovecot v2.2.12 on CentOS x86_64 (5.10 and
6.5 respectively) and users are virtual over ldap.
I have setup our main internal server (vmail.example.com) with dsync
replication according to the first part of
http://wiki2.dovecot.org/Replication. The second one
(vmail1.example.com) will be the failover server which we want to be a
real-time mirror (but can be
2013 Oct 28
2
Dovecot replication - I'm stuck
...i page keeps referring to "vmail". Is this a just system user I
need to create? Presumably on both Dovecot boxes?
If I don't use virtual users, do I need this?
Here is my dovecot -n:
# 2.1.3: /usr/pkg/etc/dovecot/dovecot.conf
# OS: NetBSD 5.2 cobalt
auth_mechanisms = plain login
dsync_remote_cmd = ssh -l%{login} %{host} doveadm dsync-server -u%u
listen = 192.168.1.1
login_greeting = Go on then, let's have it...
mail_location = mbox:~/mail:INBOX=/var/mail/%u
mail_plugins = " notify replication"
passdb {
driver = passwd
}
plugin {
mail_replica = remote:vmail at server2.mydo...
2015 Jun 22
2
Duplicate mails with pop3 + dsync replication
It turns out that if I enable this option:
pop3_deleted_flag = "$POP3Deleted?
The issue no longer persists. I have to manually expunge the kept mails that have been deleted via pop3 though:
doveadm expunge mailbox INBOX KEYWORD '$POP3Deleted' -A
Wolfgang
> On 21 Jun 2015, at 21:05, Wolfgang Hennerbichler <wogri at wogri.com> wrote:
>
> FWIW I just tried the sdbox
2013 Nov 09
1
Dovecot replication not redirecting if server is down
...h_socket_path = director-userdb
}
Backend 1:
# 2.2.7: /usr/local/etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.2
auth_debug = yes
auth_mechanisms = plain login
auth_verbose = yes
disable_plaintext_auth = no
dotlock_use_excl = no
doveadm_password = secret
doveadm_port = 12345
dsync_remote_cmd = ssh -l%{login} %{host} doveadm dsync-server -u%u
hostname = mb01.example.net
listen = 10.5.29.211
log_path = /var/log/dovecot.log
mail_debug = yes
mail_fsync = always
mail_gid = vmail
mail_home = /var/mail/%d/%n
mail_location = maildir:~/Maildir
mail_plugins = quota notify replication
mail_uid =...
2016 Mar 01
2
Dsync induces redundant mail after rapid append/expunge repeatedly
...nged mail
reappeared.
?
dovecot -n (ServerA)
# 2.2.19: /etc/dovecot/dovecot.conf
# OS: Linux 3.10.77 x86_64 ext4
auth_mechanisms = plain login
default_internal_user = root
default_login_user = dovecot
default_vsz_limit = 0
disable_plaintext_auth = no
doveadm_password = # hidden, use -P to show it
dsync_remote_cmd = ssh -l%{login} %{host} doveadm dsync-server -u%u
dsync_target_servers = tcps:10.13.23.139:24245
lda_mailbox_autocreate = yes
mail_debug = yes
mail_fsync = never
mail_location = maildir:/var/spool/mail/%d/%-4.04i/%i/Maildir
mail_max_userip_connections = 30
mail_never_cache_fields = *
mail_plugins...
2015 Dec 23
2
2.2.21 imap core dump after enabling autoexpunge
...x1, 0x80, 0x27c00, 0x2), at 0xff0236c8
> [25] main(argc = <value unavailable>, argv = 0x1) (optimized), at 0x619c4 (line ~442) in "main.c"
> (dbx)
> # 2.2.21 (5345f22): /usr/local/etc/dovecot/dovecot.conf
> # OS: SunOS 5.10 sun4u
> base_dir = /var/run/dovecot/
> dsync_remote_cmd = ssh -l%{login} %{host} /usr/local/bin/doveadm dsync-server -u%u -U
> first_valid_uid = 100
> last_valid_uid = 199
> mail_location = maildir:~/Maildir
> mail_plugins = fts fts_solr
> namespace inbox {
> inbox = yes
> location =
> mailbox "Deleted Messages" {...
2020 Jul 28
1
Migration issue
...dovecot.pem
userdb {
args = uid=vmail gid=vmail home=/z1devenv/mail/virtual/%d/%n
driver = static
}
mail_debug = yes
verbose_ssl = no
# Enable the replication plugin globally
mail_plugins = $mail_plugins notify replication
service replicator {
process_min_avail = 1
}
dsync_remote_cmd = ssh -l%{login} %{host} doveadm dsync-server -u%u
plugin {
mail_replica = remote:vmail at production3.baplc.com
}
service aggregator {
fifo_listener replication-notify-fifo {
user = vmail
}
unix_listener replication-notify {
user = vmail
}
}
service replicator {
unix_listener...
2014 Jan 28
1
Problem to setup replication
Hi,
i tried to setup replication since some days but I'am stuck now.
My conf:
# 2.2.10: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-431.3.1.el6.x86_64 x86_64 CentOS release 6.5 (Final)
dsync_remote_cmd = ssh -l%{login} %{host} /usr/bin/doveadm dsync-server -u%u -l%{lock_timeout} -n%{namespace}
log_path = /var/log/dovecot
mail_gid = 5000
mail_home = /var/vmail/%d/%n
mail_location = maildir:~/Maildir
mail_plugins = " notify replication"
mail_uid = 5000
managesieve_notify_capability = mail...
2023 Jan 06
1
replicator: Panic: data stack: Out of memory when allocating 268435496 bytes
...gt; service doveadm {
> process_limit = 0
> process_min_avail = 0
> idle_kill = 0
> client_limit = 1
> user = vmail
> inet_listener {
> port = 12345
> }
> }
>
> service config {
> unix_listener config {
> user = vmail
> }
> }
>
> dsync_remote_cmd = ssh -l%{login} %{host} doveadm dsync-server -u%u
> #dsync_remote_cmd = doveadm sync -d -u%u
>
> replication_dsync_parameters = -d -N -l 300 -U
>
> plugin {
> mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename
> mail_log_fields = uid, box, msgid,...