[Tickets #8869] imp/fetchmail will not resolve localhost

bugs at horde.org bugs at horde.org
Thu Feb 11 21:42:20 UTC 2010


Ticket URL: http://bugs.horde.org/ticket/8869
  Ticket             | 8869
  Created By         | elarson1974 at yahoo.com
  Summary            | imp/fetchmail will not resolve localhost
  Queue              | IMP
  Version            | 4.3.4
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |

elarson1974 at yahoo.com (2010-02-11 16:42) wrote:

i'm migrating from one server to another ... horde works flawlessly on  
old_box, but i've run into a strange situation on new_box and wondered  
if anyone else had experienced a problem with hostname resolution.

summary: the only valid config in horde :: options :: global options  
:: authentication credentials is server= ... similarly the  
only server= value that works for all fetchmail configuration is also ... localhost does not work at all.

i'm running dovecot and postfix on ubuntu 9-10 and best i can tell,  
everything is working just fine ... i am able to telnet to localhost  
and establish an imap connection:
# telnet localhost 143
Connected to localhost.
Escape character is '^]'.
* OK Dovecot ready.
a login myemail at mydomain.com mypassword
a OK Logged in.

i have dovecot configured to listen only on localhost:143, but i  
changed that to *:143 and restarted dovecot just to make sure that  
wasn't the issue. the test.php returns no critical errors, and  
everything related to imap is installed and working properly. the  
phpinfo() also shows imap as installed/configured.

here's my servers.php settings:
$servers['imap'] = array(
     'name' => 'IMAP Server',
     'server' => 'localhost',
//    'server' => 'fqdn.myhost.net',
//    'server' => '',
     'hordeauth' => false,
     'protocol' => 'imap/notls',
     'port' => 143,

note: i have tried to get this to work by changed out servers.php and  
using the loopback and/or the fqdn, but it doesn't really seem to make  
a difference.

unless i specify under authentication credentials screen, i  
cannot get into imp

once i am inside imp, the only way i can get fetchmail to work is to  
specify under server. if i put in localhost, i get the  
following message when i try to fetch mail:
> Fetchmail: Cannot connect to the remote mail server: No such host as  
> localhost

let me know what additional info i can provide and/or what  
tests/config changes you would like me to make to assist in getting  
this working.


More information about the bugs mailing list