How Do You Install It?
The quick-start steps for the impatient are as follows. Later on, we’ll cover deviations you might like to make in this routine:
Change directories to the top-level directory created when you untarred the distribution file. With IMAP 4.5, the directory name is imap-4.5.
Select your OS/compiler combination from the list in Makefile. For example, gso is Solaris and GCC.
Do a make <keyword> where <keyword> is your OS/compiler combo. For example, make gso.
Rejoice in the wonder of compiling open source software as your IMAP Toolkit builds (alternatively, try to figure out why the compile failed or why your compiler doesn’t work, etc.) Once it finishes, you’ll have all the components built and ready to put into action.
Become root and copy the imapd binary to
/usr/local/etc
. Linux admins may prefer/usr/local/sbin
.Make sure you’ve got an entry like this in your /etc/services file:
imap 143/tcp
Make sure you’ve got corresponding entries in your /etc/inetd.conf file. If you’re not using TCP Wrappers : [54]
imap stream tcp nowait root /usr/local/etc/imapd imapd
If you are using TCP Wrappers : [55]
imap stream tcp nowait root /usr/local/etc/tcpd /usr/local/sbin.imapd
It doesn’t matter if you call your services imap, imap4, or even InternetMailAccessProtocol as long as the name you use in /etc/services is exactly the same as the name you use in /etc/inetd.conf. Before you send a HUP signal to inetd, take a minute and make absolutely sure that the location you give for your ...
Get Managing IMAP now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.