On Gentoo:
edit /etc/make.conf and include imap to the USE flags,
then run
emerge php
FreeBSD:
Install c-client only to support IMAP-SSL
cd /usr/ports/mail/cclient/ && make install clean
To install the IMAP module on Red Hat Linux Enterprise 4 (RHEL4):
- Open a terminal window
- If you're not root, become root with su
- type:
RPM -i php-imap
(RPM will download, install and resolve dependencies)
- restart your web server with:
service httpd restart
I hope this helps newbies (like me).