Koozali.org: home of the SME Server

imapsync syntax help please

Offline dilligaf

  • *
  • 266
  • +0/-0
    • http://www.willcraft.com
imapsync syntax help please
« 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,

Offline Stefano

  • *
  • 10,850
  • +2/-0
Re: imapsync syntax help please
« Reply #1 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

Offline dilligaf

  • *
  • 266
  • +0/-0
    • http://www.willcraft.com
Re: imapsync syntax help please
« Reply #2 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

Offline dilligaf

  • *
  • 266
  • +0/-0
    • http://www.willcraft.com
Re: imapsync syntax help please
« Reply #3 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
« Last Edit: July 03, 2009, 07:54:39 PM by dilligaf »