Hello,
I have migrated a directadmin server to a new directadmin server, following this article (easy method): https://docs.directadmin.com/directadmin/backup-restore-migration/full-da-migration.html
Now that works great, however as I need to change DNS domain by domain, I want to take my time So, I need to sync all the (users) mail., which I did with the following command adding in etc/crontab:
However, after this, there is a huge difference in the (user) quotas, almost doubled. When checking the mail folders it looks okay. What could cause this, but more important how can I sync the mail without issues?
Can someone help me with the correct command without creating similar issue?
I have migrated a directadmin server to a new directadmin server, following this article (easy method): https://docs.directadmin.com/directadmin/backup-restore-migration/full-da-migration.html
Now that works great, however as I need to change DNS domain by domain, I want to take my time So, I need to sync all the (users) mail., which I did with the following command adding in etc/crontab:
Code:
*/5 * * * * root rsync -avz --update -e 'ssh -p 43' /home/*/imap/ [email protected]:/home/ >> /var/log/rsync_imap.log 2>&1
*/5 * * * * root rsync -avz --update -e 'ssh -p 43' /home/*/Maildir/ [email protected]:/home/ >> /var/log/rsync_maildir.log 2>&1
However, after this, there is a huge difference in the (user) quotas, almost doubled. When checking the mail folders it looks okay. What could cause this, but more important how can I sync the mail without issues?
Can someone help me with the correct command without creating similar issue?
Last edited: