Tuesday, December 20, 2005

Installing and configuring IMAP

[root@mybox urpmi]# urpmi imap
medium "contrib" uses an invalid list file:
mirror is probably not up-to-date, trying to use alternate method

ftp://ftp.is.co.za/mirror/mandrivalinux/official/9.2/i586/Mandrake/RPMS/imap-2002d-6mdk.i586.rpm

100% of 2246k completed, ETA = 0:00:00, speed = 2294 installing /var/cache/urpmi/rpms/imap-2002d-6mdk.i586.rpm
Preparing... ##################################################
1:imap ##################################################

[root@mybox urpmi]#

This will install but wont accept imap connection to port 143

[root@mybox xinetd.d]# telnet localhost 143
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection refused
[root@mybox xinetd.d]#

Got to
[root@mybox xinetd.d]# pwd
/etc/xinetd.d


[root@mybox xinetd.d]# cat imap
# default: off
# description: The IMAP service allows remote users to access their mail using # an IMAP client such as Mutt, Pine, fetchmail, or Netscape # Communicator.
service imap
{
socket_type = stream
wait = no
user = root
server = /usr/sbin/imapd
log_on_success += DURATION USERID
log_on_failure += USERID
disable = no
}
[root@mybox xinetd.d]#


Change the disable from yes to no and restart inetd/xinetd services.

Note : xinetd or inetd service is required to start imap service.

If that is not installed you will need to install it.

No comments: