this is obsolete doc -- see http://doc.nethence.com/ instead
UW-IMAPD configuration
Introduction
The UW IMAP server is the reference server implementation of the IMAP protocol. Mark Crispin wrote both, the imap daemon and the RFC.
http://www.ietf.org/rfc/rfc2060.txt
http://panda.com/mrc/
Note uw-imapd serves /var/spool/mail/username as INBOX and user's home as imap folders.
Installation
Install the package,
uw-imapd
or just get Pine sources,
http://www.washington.edu/pine/getpine/unix.html
and build it,
tar xvzf pine*.tar.gz
cd pine*
check for available targets,
ls -l pine/makefile*
then, for example,
./build NOSSL lnx
Configuration
If this hasn't already been done (needed for cgywin),
mkdir /var/spool/
mkdir /var/spool/mail
ln -s /var/spool/mail /var/mail
Configure the service,
vi /etc/xinetd.d/imapdexample
for example,
service imap
{
socket_type = stream
wait = no
server = /usr/sbin/uw-imapd
user = exampleuser
protocol = tcp
disable = no
port = 143
}
Start the daemon
Launch xinet,
xinetd
or for Redhat systems,
service xinetd reload