1

Topic: rsync and acces to var/vmail

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.3

====

In order to move our installation from 0.3 to the newest version, i need to sync the mails from the older server, to the new one. If i try to do it with my default user, i get permission error, how do i enable acces to var/vmail with out breaking the running server?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: rsync and acces to var/vmail

i got it working by:

sudo rsync -av --progress -e "ssh -i /home/ubuntu/ssh.dsa" --rsync-path="sudo rsync" /var/vmail/  ubuntu@myserver.com:/var/vmail/

3

Re: rsync and acces to var/vmail

/var/vmail/vmail1 and /var/vmail/sieve must be owned by vmail:vmail, permission 0700.

4

Re: rsync and acces to var/vmail

drwx------  4 vmail vmail 4.0K Jan 18  2014 midlertidig.nu

it looks correct?

5

Re: rsync and acces to var/vmail

Well, what's your issue now? Any detailed error message?

6

Re: rsync and acces to var/vmail

rsync is working fine smile