imap not working, everything set right...

mcanale

New member
Joined
Mar 22, 2004
Messages
3
Okay, this is what I got so far:

/etc/xinet.d/imap "disable = no"

/etc/apf/conf.apf "port 143 is set in TCP"
also when you nmap it, it says "143/tcp closed imap"
not sure if this is the problem but before APF 143 wasn't even listed so is it just waiting for IMAP to open it?

services xinetd restart "works fine, doesn't return any errors"

/usr/sbin/imapd "does exsist"

telnet localhost 143
telnet: connect to address 127.0.0.1: Connection refused

when i run "imapd"
* OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS STARTTLS AUTH=LOGIN] <host> IMAP4rev1 2003.339 at Mon, 22 Mar 2004 13:42:31 -0500 (EST)

if i just type gibberish into that, this appears in /var/log/maillog
Mar 22 13:43:44 mm imapd[4121]: Missing command before authentication host=UNKNOWN

So i'm at a lost here, not too sure what's going on. Thanks in advanced.

-Marc
 
Are there any firewalls running preventing the connection from the localhost?... try "service iptables stop" .. and test it out with apf running.. (I'm not farmiliar with apf)

John
 
APF uses iptables as far as I know.

The port is open waiting for imap to use it.

nmap returns this:

[root@webtest root]# nmap -p 21-143 <ip>

Starting nmap V. 3.00 ( www.insecure.org/nmap/ )
Interesting ports on (<ip>):
(The 117 ports scanned but not shown below are in state: filtered)
Port State Service
21/tcp open ftp
22/tcp open ssh
53/tcp open domain
80/tcp open http
110/tcp open pop-3
143/tcp closed imap2

Nmap run completed -- 1 IP address (1 host up) scanned in 35 seconds
[root@webtest root]#


Also is there any IMAP config file? Maybe there is an error in that?

-Marc
 
Hmm. Is the imapd program 755? ... *nothing* is showing up in the /var/log/messages? How about the contents of /etc/xinetd.d/imap ? (might be pointing to the wrong file?)

There is no config file for imapd.

John
 
Back
Top