Hi guys, I am using dovecot-2.1.0 in centos 5.7, I configured dovecot with postfix in 2 system both system is having same configuration and os. I want to use dsync in mirror mode via ssh but I am not able to do it. When I followed the dsync wiki then I an unable to find the username : *dsync -u username mirror ssh -i id_dsa.dovecot mailuser at example.com dsync -u username* In the above command what will b user name and id_dsa.dovecot I am unable to understand. -- * Thanks & Regards * *Jitendra Kumar Bhaskar* Cell:- +91 7306311531 +91 8102997821
Hello Jitendra, I'm trying to do the same thing but I hit a wall as the sync seems to be doubling some emails in my case. My issues is still open with Timo (I HOPE!) As you seem to be stuck in an earlier stage here are my advices: 1) add the id_rsa to the .ssh folder to the user that runs the sync to test that this step is ok you should be able to $ ssh mailuser at example.com without being asked for a certificate / password (if you wonder how to achieve this here is a sample tutorial http://jaybyjayfresh.com/2009/02/04/logging-in-without-a-password-certificates-ssh/) 2) username is the user that has the email (if you work in a virtual environment generally is user at domain). 3) the syntax that I found to be working for me is the following: doveadm -Dv sync -u user1 at dom1 -f ssh mx1.a doveadm dsync-server -u user1 at dom1 To explain a little bit clearer the setup: - you start with 2 server mx1.a and mx2.a. On both servers you have vpopmail as the virtual user management for the virtual domain dom1 - from mx1.a you can ssh vpopmail at mx2.a directly without being prompted for a certificate or password) - user1 at dom1 is a virtual user defined both on mx1.a and on mx2.a (which means that you can deliver emails to this user both at mx1.a and mx2.a and you can also read them through imap on both servers). Hope this makes it a little bit more clear. Have fun, Andrei> Hi guys, > > I am using dovecot-2.1.0 in centos 5.7, I configured dovecot with postfix > in 2 system both system is having same configuration and os. I want to use > dsync in mirror mode via ssh but I am not able to do it. When I followed > the dsync wiki then I an unable to find the username : > > *dsync -u username mirror ssh -i id_dsa.dovecot mailuser at example.com > dsync -u username* > > In the above command what will b user name and id_dsa.dovecot I am unable > to understand. > > > > > > -- > * Thanks & Regards * > *Jitendra Kumar Bhaskar* > Cell:- +91 7306311531 > +91 8102997821 > >
Hey Frnds, Could you tell me about the error : # dsync -Dv -u jitendra.b at example.com mirror jitendra.b at example.com doveadm(root): Debug: Loading modules from directory: /usr/local/lib/dovecot/doveadm doveadm(root): Debug: Skipping module doveadm_acl_plugin, because dlopen() failed: /usr/local/lib/dovecot/doveadm/lib10_doveadm_acl_plugin.so: undefined symbol: acl_user_module (this is usually intentional, so just ignore this message) doveadm(root): Debug: Skipping module doveadm_expire_plugin, because dlopen() failed: /usr/local/lib/dovecot/doveadm/lib10_doveadm_expire_plugin.so: undefined symbol: expire_set_lookup (this is usually intentional, so just ignore this message) doveadm(root): Debug: Skipping module doveadm_quota_plugin, because dlopen() failed: /usr/local/lib/dovecot/doveadm/lib10_doveadm_quota_plugin.so: undefined symbol: quota_user_module (this is usually intentional, so just ignore this message) doveadm(root): Debug: Skipping module doveadm_zlib_plugin, because dlopen() failed: /usr/local/lib/dovecot/doveadm/lib10_doveadm_zlib_plugin.so: undefined symbol: i_stream_create_deflate (this is usually intentional, so just ignore this message) doveadm(root): Debug: Skipping module doveadm_fts_plugin, because dlopen() failed: /usr/local/lib/dovecot/doveadm/lib20_doveadm_fts_plugin.so: undefined symbol: fts_list_backend (this is usually intentional, so just ignore this message) doveadm(jitendra.b at example.com): Debug: Effective uid=3846, gid=3846, home=/home/example1.com/jitendra.b doveadm(jitendra.b at example.com): Debug: Namespace inbox: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes location=mbox:/home/ example.com/jitendra.b/mail:INBOX=/var/spool/example.com/jitendra.b doveadm(jitendra.b at example.com): Debug: fs: root=/home/ example.com/jitendra.b/mail, index=, control=, inbox=/var/spool/ example.com/jitendra.b, altdsync-local(jitendra.b at example.com): Debug: Namespace : Using permissions from /home/example.com/jitendra.b/mail: mode=0777 gid=-1 doveadm(jitendra.b): Fatal: User doesn't exist dsync-local(jitendra.b at example.com): Error: read() from worker server failed: EOF -- * Thanks & Regards * *Jitendra Kumar Bhaskar* Cell:- +91 7306311531 +91 8102997821
Apparently Analagous Threads
- Frequently login problem
- dovecot replication - new and cur folders on mx1 and mx2
- Dovecot Replication Errors (only) when using tcps: as the mail_replica Protocol
- dovecot replication - new and cur folders on mx1 and mx2
- dovecot replication - new and cur folders on mx1 and mx2