LinuxGuruz

Title:       IMAP Instalation Notes
Contributor: Randall Goguen (aka Ranman)
Last Update: Saturday August 5 01:06 EDT

cd /usr/local
# Get ftp://ftp.cac.washington.edu/imap/imap.tar.Z

tar -xzvf imap.tar.Z

cd imap-2002b

# Or whatever version name the unarchived imap directory is named.
#
# Read the Makefile for the make argument.
make <argument>

cp c-client/c-client.a /usr/local/lib/
cp c-client/rfc822.h /usr/local/include/
cp c-client/mail.h /usr/local/include/
cp c-client/linkage.h /usr/local/include/
ln -s /usr/local/lib/c-client.a /usr/local/lib/libc-client.a

cp imapd/imapd /usr/local/libexec/
cp ipopd/ipop2d /usr/local/libexec/
cp ipopd/ipop3d /usr/local/libexec/

# In /etc/inetd.conf comment out the old lines and add:
pop    stream tcp nowait root /usr/sbin/tcpd /usr/local/libexec/ipop2d
pop3   stream tcp nowait root /usr/sbin/tcpd /usr/local/libexec/ipop3d
imap2  stream tcp nowait root /usr/sbin/tcpd /usr/local/libexec/imapd

ps x
kill -HUP <PID of inetd>

# Configure the PHP source with:
 --with-imap=/usr/local


        Anyone who wishes to make additions or changes to this
PHP Tip email them to webmaster@linuxguruz.org

        This document is Copyright (c) 1999 - 2002 by LinuxGuruz