-   Linux - Networking (
-   -   Can ping the server but can't use the python (

ravi.xolve 10-03-2009 03:07 PM

Can ping the server but can't use the python
Our college has the mail which uses imap. I can ping the server. But when I try to make an archive of it using the archivemail utility, I get the error as:


Traceback (most recent call last):                                               
  File "/usr/bin/archivemail", line 1610, in <module>                             
  File "/usr/bin/archivemail", line 707, in main                                 
  File "/usr/bin/archivemail", line 1152, in archive
    _archive_imap(mailbox_name, final_archive_name)
  File "/usr/bin/archivemail", line 1348, in _archive_imap
    imap_srv = imaplib.IMAP4_SSL(imap_server)
  File "/usr/lib/python2.6/", line 1137, in __init__
    IMAP4.__init__(self, host, port)
  File "/usr/lib/python2.6/", line 163, in __init__, port)
  File "/usr/lib/python2.6/", line 1149, in open
    self.sock.connect((host, port))
  File "<string>", line 1, in connect
socket.error: [Errno 113] No route to host

Why this is so. Please help.

watcher69b 10-03-2009 04:30 PM

do you get a result if you
dig servername

ravi.xolve 10-03-2009 11:47 PM

Well I am using the IP address directly. I already said that I can ping the server.

All times are GMT -5. The time now is 11:08 PM.