#1  
Old 30th July 2010, 22:54
seahawkja seahawkja is offline
Junior Member
 
Join Date: Mar 2008
Location: South Florida
Posts: 11
Thanks: 2
Thanked 0 Times in 0 Posts
Default imapsync migration

Using the imapsync utility according to your how-to.
yum installed with dependencies successfully.

All parameters on command line OK.
Getting the following error after the "will try" and "From & To" lines:

"Can not open imap connection on [host1 ip] with user [username@host1] : IO::Socket::INET: connect: Connection timed out"

NOTE: host1 substituted for the actual ip addr. username@host1 substituted for the actual email user.

The server on host1 has been operating correctly for almost 4 years. Just doing a migration to a different host.

Server is Fedora 8 X64 with Apache, Postfix/Dovecot/Amavis/Clamav/SpamAssassin running on an AMD Athlon 64X2 2.4GHz 4GB.

Any help with this error appreciated.

SeaHawkJa
Reply With Quote
Sponsored Links
  #2  
Old 31st July 2010, 15:43
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

What's the output of
Code:
netstat -tap
on the IMAP server?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 31st July 2010, 16:38
seahawkja seahawkja is offline
Junior Member
 
Join Date: Mar 2008
Location: South Florida
Posts: 11
Thanks: 2
Thanked 0 Times in 0 Posts
Default netstat -tap output

[root@ws1 /]# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:imaps *:* LISTEN 2192/dovecot
tcp 0 0 *op3s *:* LISTEN 2192/dovecot
tcp 0 0 *:43907 *:* LISTEN 1858/rpc.statd
tcp 0 0 localhost.localdomain:10024 *:* LISTEN 2217/amavisd (maste
tcp 0 0 localhost.localdomain:10025 *:* LISTEN 2273/master
tcp 0 0 *:mysql *:* LISTEN 2164/mysqld
tcp 0 0 *op3 *:* LISTEN 2192/dovecot
tcp 0 0 *:imap *:* LISTEN 2192/dovecot
tcp 0 0 *:sunrpc *:* LISTEN 1839/rpcbind
tcp 0 0 ws1.somename.net:http *:* LISTEN 2301/httpd
tcp 0 0 *:ftp *:* LISTEN 2075/vsftpd
tcp 0 0 localhost.localdomain:ipp *:* LISTEN 2424/cupsd
tcp 0 0 *:smtp *:* LISTEN 2273/master
tcp 1 16 ws1.somename.net:smtp sub-228ip138.mio.an:38739 CLOSING -
tcp 0 0 ws1.somename.netop3 192.168.0.33:4206 TIME_WAIT -
tcp 0 0 *:ssh *:* LISTEN 2049/sshd
tcp 0 0 *:https *:* LISTEN 2301/httpd
tcp 0 2368 ws1.somename.net:ssh c-my-ip-adr-here.hsd1:cvmmon ESTABLISHED 24242/0
Reply With Quote
  #4  
Old 1st August 2010, 18:12
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Looks ok. Is there maybe a firewall that blocks access to IMAP?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 2nd August 2010, 21:46
seahawkja seahawkja is offline
Junior Member
 
Join Date: Mar 2008
Location: South Florida
Posts: 11
Thanks: 2
Thanked 0 Times in 0 Posts
Default Can do using LAN IP addr

Nothing in the firewall blocking imap - I think it is in the server config.

As I was using SSH to access the server previously, I decided to go in to the client and try imapsync directly on the server - same timeout result!

Tried the quick imap telnet check to server.net 143 and that was a no go.

Decided to use server's IP since I was at the site and ...voila - she speaks.


So re-ran the imapsync from another station using SSH and the server's IP and off it went.

Anyway, since the email migration is the priority now, I am proceeding with that. I still need to check on the server's config to see what's up with the imap 143 blocking for future reference if I have to do this on another server.

Thanks for those who took the time to check in on this, and also Falko for your input.

SeaHawkJa
Reply With Quote
  #6  
Old 3rd August 2010, 18:07
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

Looks as if the hostname is resolving to a wrong IP. Did you check that?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Migration from Version 2 to 3 pbrille Installation/Configuration 1 19th January 2010 11:17
XEN migration asdfg123 Server Operation 2 16th November 2009 13:56
Migration Questions Rockdrala Installation/Configuration 13 26th December 2007 13:51
Migration: Sites from one to the other server (ISP Config 2.2.6 to 2.2.18) eric.balk General 1 26th November 2007 08:28
steup for Xen live migration? akywy HOWTO-Related Questions 1 10th July 2007 15:30


All times are GMT +2. The time now is 22:24.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.