
Originally Posted by
vavai
Imapsync has a feature --authuser that sufficient to sync between mail server without know each account password.
Below is an example of imapsync command using --authuser :
Code:
imapsync --host1 192.168.10.1 --user1 $ACCOUNT --authuser1 admin --password1 passwordadminserver1 --authmech1 PLAIN --host2 192.168.10.2 --user2 $ACCOUNT --authuser2 admin --password2 passwordadminserver2
As you see, you must know the admin password (global admin) for each server for --authuser.
This worked for me! now i just get error messages when i run the script and there are contacts to sync
Code:
[Contacts] -> [Contacts]
- msg Contacts/282 couldn't append (Subject:[=?utf-8?Q?test?=]) to folder Contacts: 48 NO APPEND failed
don't know why the contacts won't work