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:

  1. 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.

  2. Select your OS/compiler combination from the list in Makefile. For example, gso is Solaris and GCC.

  3. Do a make <keyword> where <keyword> is your OS/compiler combo. For example, make gso.

  4. 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.

  5. Become root and copy the imapd binary to /usr/local/etc. Linux admins may prefer /usr/local/sbin.

  6. Make sure you’ve got an entry like this in your /etc/services file:

  7. imap              143/tcp
  8. Make sure you’ve got corresponding entries in your /etc/inetd.conf file. If you’re not using TCP Wrappers : [54]

  9. imap   stream  tcp   nowait  root   /usr/local/etc/imapd   imapd
  10. If you are using TCP Wrappers : [55]

  11. imap  stream  tcp  nowait  root  /usr/local/etc/tcpd  /usr/local/sbin.imapd
  12. 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 ...

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.