[Gllug] Rsync dovecot Maildir directories

gvim gvimrc at googlemail.com
Tue Apr 6 17:26:24 UTC 2010


On 06/04/2010 11:23, Michael-John Turner wrote:
>
> An alternative solution is to run an IMAP server on your laptop and
> synchronise that with your main IMAP server using imapsync[1].
>
> [1] http://freshmeat.net/projects/imapsync/
>
> -mj

Tried this but all I get is (sensitive data = ****):

$RCSfile: imapsync,v $ $Revision: 1.310 $ $Date: 2010/02/26 01:24:59 $
Here is a [darwin] system (Darwin mac 10.3.0 Darwin Kernel Version 10.3.0: Fri Feb 26 11:57:13 PST 2010; root:xnu-1504.3.12~1/RELEASE_X86_64 x86_64)
with perl 5.10.1
Mail::IMAPClient  3.23 and the module Mail::IMAPClient version used here is 3.23
Command line used:
/usr/bin/imapsync --dry --debugimap --host1 localhost --authmech1 LOGIN --user1 **** --password1 MASKED --host2 **** --authmech2 LOGIN --user2 **** --password2 MASKED
Temp directory is /var/folders/03/03wCqDDyEcWsP+Dgic6CN++++TM/-Tmp-
Turned ON syncinternaldates, will set the internal dates (arrival dates) on host2 same as host1.
TimeZone:[europe/london]
Will try to use LOGIN authentication on host1
Will try to use LOGIN authentication on host2
Host1 imap server [localhost] port [143] user [****]
Host2 imap server [****] port [143] user [****]
Host1 connection
ERROR: IO::Socket::INET: connect: Connection refused
  at /usr/bin/imapsync line 3072
	main::myconnect('Mail::IMAPClient=HASH(0x100b2d5b0)') called at /usr/bin/imapsync line 808
	main::login_imap('localhost', 143, '****', '****', 1, undef, 0, undef, undef, ...) called at /usr/bin/imapsync line 767
Can not open imap connection on [localhost] with user [****]: IO::Socket::INET: connect: Connection refused

./syncimap.sh: line 14: Avoid: command not found
./syncimap.sh: line 25: PLAIN,: command not found
./syncimap.sh: line 37: syntax error near unexpected token `in'
./syncimap.sh: line 37: `                         in case both --include --exclude options are'



My Dovecot config uses defauilt PAM authentication.

Any ideas?

gvim
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list