[Gllug] Rsync dovecot Maildir directories

John Edwards john at cornerstonelinux.co.uk
Tue Apr 6 17:55:48 UTC 2010


On Tue, Apr 06, 2010 at 06:26:24PM +0100, gvim wrote:
> 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'

The clue is:
"Can not open imap connection on [localhost] with user [****]:
IO::Socket::INET: connect: Connection refused"

Can you connect to the IMAP server on port 143 on your localhost
with that username and password?



-- 
#---------------------------------------------------------#
|    John Edwards   Email: john at cornerstonelinux.co.uk    |
#---------------------------------------------------------#
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Digital signature
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20100406/61380461/attachment.pgp>
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list