Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: dilligaf on July 03, 2009, 02:01:54 AM

Title: imapsync syntax help please
Post by: dilligaf on July 03, 2009, 02:01:54 AM
one server is 6.x the other 7.3
when I run the following from new server: (192.168.55.101)

/usr/bin/imapsync \
--host1 192.168.55.1 --user1 dan --password1 mypassword \
--host2 192.168.55.101 --user2 dan --password2 my password

I get:
Host 192.168.55.1 says it has NO CAPABILITY for AUTHENTICATE CRAM-MD5

I googled and found I should add [--noauthmd5] but do not know where to properly place (tried a few spots with failure)

any help to enter proper syntax greatly appreciated,
Title: Re: imapsync syntax help please
Post by: Stefano on July 03, 2009, 07:25:02 AM
try
Code: [Select]
/usr/bin/imapsync \
--host1 192.168.55.1 --user1 dan --password1 mypassword \
--host2 192.168.55.101 --user2 dan --password2 my password --authmech1 LOGIN --authmech2 LOGIN
Title: Re: imapsync syntax help please
Post by: dilligaf on July 03, 2009, 06:18:43 PM
try
Code: [Select]
/usr/bin/imapsync \
--host1 192.168.55.1 --user1 dan --password1 mypassword \
--host2 192.168.55.101 --user2 dan --password2 my password --authmech1 LOGIN --authmech2 LOGIN

Thank you, now am getting:
No NAMESPACE capability in imap server 192.168.55.1
Give the separator caracter with the --sep1 option
Title: Re: imapsync syntax help please
Post by: dilligaf on July 03, 2009, 07:36:23 PM
did more googling, and tried this, and for the most part worked, except it missed subfolders from old server:
** another look, it does get the sub folders, they just aren't nested like a subfolder. **

imapsync --host1 192.168.55.1 --user1 dan --password1 password --host2 192.168.55.101 --user2 dan --password2 password --authmech1 LOGIN --authmech2 LOGIN --sep1 / --prefix1 / --sep2 / --prefix2 ""

not sure what to try to get the subfolders (basically I need "all" mail folders)

thanks in advance