[imp] A beginner setting up IMP (software versions)

Lisa Koch lkoch@coe.neu.edu
Tue, 17 Apr 2001 05:58:27 -0400 (EDT)


I'll take a wild guess on this: When IMAP works, as with telnet, you're
calling your machine by its hostname and IP (gandalf, xxx.xx.xxx.xxx) and
when it fails, as with IMP, you're calling the machine localhost and
127.0.0.1.  Or maybe visa versa.

If you use TCP wrappers, check that connections to both are permitted for
IMAP.  And fix your configuration files to consistently call the IMAP
host one thing or the other.  My working IMPs use the hostname of the
IMAP host or IMP server (I've got an IMP where they are the same machine
and another where they are different), so I suggest eliminating
"localhost" as a safe choice.

Good luck!  Lisa

On Tue, 17 Apr 2001, Tony Arcus wrote:

> The error message when I seek to log in from imap is as follows
>
> Apr 17 14:35:27 gandalf imapd[7484]: refused connect from 127.0.0.1
> Apr 17 14:35:32 gandalf IMP[5694]: FAILED 192.168.20.12 to localhost:143 as
> strider
>
> I can telnet in to port 143, and login.
> Also netstat -a | grep imap gives
> tcp       0          0     *.imap2   *.*    LISTEN
>
> here are my imap settings from imp\config\default.php3
>
> /* Server Specific Configuration */
> $default->localhost                      = 'gandalf.access-info.co.nz';
>
>
> /* Web Server Configuration */
> $default->root_url                       = '/horde/imp';
> $default->include_dir                    = './templates';
> $default->graphics_url                   = '/horde/imp/graphics';
>
>
> /* Default IMAP Server Configuration */
> $default->server                         = 'localhost';
> $default->from_server                    = 'localhost';
> $default->port                           = '143';
>
> /* Default IMAP Folder Configuration */
> $default->folders                        = 'mail';
> $default->use_imap_subscribe             = true;
> $default->show_dotfiles                  = false;
> $default->save_sent_mail                 = true;
> $default->sent_mail                      = 'sent-mail';
> $default->postponed                      = 'drafts';
>
> Thanks in advance.
> Tony
>
>
>
>
>
>
>
>
> -----Original Message-----
> From: Rich Lafferty [mailto:rich@bofh.concordia.ca]On Behalf Of Rich
> Lafferty
> Sent: Tuesday, 17 April, 2001 5:29 AM
> To: imp@lists.horde.org
> Subject: Re: [imp] A beginner setting up IMP (software versions)
>
>
> On Mon, Apr 16, 2001 at 05:43:15PM +1200, Tony Arcus
> (tony@access-info.co.nz) wrote:
> > When logging in to imp I see this in /var/log/messages
> >
> > Apr 16 16:35:43 gandalf IMP[5692]: FAILED 192.168.20.12 to localhost:143
> as
> > strider
> >
> > I am trying to get in via ie5 on win 95
>
> No, you need to look at the logs from your *imap* server. You already
> know that IMP said your login failed. :-)
>
>   -Rich
>
> --
> ------------------------------ Rich Lafferty ---------------------------
>  Sysadmin/Programmer, Instructional and Information Technology Services
>    Concordia University, Montreal, QC                 (514) 848-7625
> ------------------------- rich@alcor.concordia.ca ----------------------
>
> --
> IMP mailing list: http://horde.org/imp/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
>
>
>

-- 
Dr. Lisa K. Koch
Assistant Dean for Educational and Computer Technology
College of Engineering, Northeastern University
230 Snell Engineering Center, Boston, MA 02115
Email: lkoch@coe.neu.edu * Phone: (617) 373-4430 * Fax: (617) 373-8504