Koozali.org: home of the SME Server

Imap and 3.1

Andrew D

Imap and 3.1
« on: December 13, 1999, 07:19:51 AM »
I have installed the imap patches and the qmail patched imap server, but in testing the server by telnet 192.168.0.1 143. I get Connection closed by foreign host.  Doing a netstat -a shows that imap is listen.  If I start imapd manually I can send commands to it.

Any suggestions?

Charlie Brady

RE: Imap and 3.1
« Reply #1 on: December 14, 1999, 07:52:54 AM »
Andrew D wrote:

> I have installed the imap patches and the qmail patched imap
> server, but in testing the server by telnet 192.168.0.1 143. I
> get Connection closed by foreign host.  Doing a netstat -a
> shows that imap is listen.  If I start imapd manually I can
> send commands to it.

As I'm sure that you know, e-smith does not (yet) support an IMAP server. Even if you install a suitable IMAP server (such as the one at http://e-smith.gormand.com.au) there will be at least three areas where IMAP support needs to be added:

/etc/pam.d/
/etc/inetd.conf
/etc/hosts.allow

Check all of those... Your problem sounds like the third one to me.

Charlie

Andrew D

RE: Imap and 3.1
« Reply #2 on: December 14, 1999, 06:19:42 PM »
Thanks for you help with this yet unsupported feature.

My /etc/pam.d/ contains the imap file,
inetd.conf contains "imap    stream  tcp     nowait  root    /usr/sbin/tcpd  imapd"
and hosts.allow contains "imap : ALL"

I've been playing with this for a little while now with no success.  I have imap working on my 6.1 redhat o.k.

Andrew D

RE: Imap and 3.1
« Reply #3 on: December 16, 1999, 06:12:01 AM »
As usual its the simplest problems that take the longest to find.   The imap patch that I obtained for esmith did not put a 'd' at the end of imap in the hosts.allow file!

Charlie Brady

RE: Imap and 3.1
« Reply #4 on: December 17, 1999, 09:36:35 AM »
Andrew D wrote:

> As usual its the simplest problems that take the longest to
> find.   The imap patch that I obtained for esmith did not put
> a 'd' at the end of imap in the hosts.allow file!

Thanks for working out what your problem was. I'm sorry, but I
didn't test the IMAP access in that version. I am only using the patched IMAP daemon as a POP server in the systems that I manage, and it is working fine that way.

I have included your fix in a new set of RPMs at http://e-smith.gormand.com.au/. Anyone who has tried to use IMAP with my RPMs should grab the update - e-smith-3.0.4p1-cb6.o386.rpm.

Charlie