HowTo IMAP-2002 ON RedHat 7.3
My reasons for doing this (and the contents of this file)
- I want to have all mail stored in ~/.imap
- I want to have all folders default to mbx format
- I want to have SSL/TLS
- Compile UW-IMAP
- Install IMAPD
TO HAVE DEFAULT mbx FORMAT FILES
TO HAVE ALL FOLDERS DEFAULT TO ~/.imap
- Edit src/osdep/unix/env_unix.c and change the line near the top
-static char *mailsubdir = NULL; /* mail subdirectory name */
+static char *mailsubdir = ".imap"; /* mail subdirectory name */
- Then in your Procmail file do this as a default rule to send all messages to your INBOX
:0
*
| /usr/sbin/dmail +INBOX
TO HAVE SSL
COMPILE IMAP
- On RedHat 7.3 do:
make slx SSLTYPE=unix
- Using SSLTYPE=unix is not standards complient. To be standards complient you'll want to use SSLTYPE=unix.nopw
INSTALL IMAPD
Now that IMAPD is compiled you'll need to copy dmail/dmail, imapd/imapd and ipop3d/ipop3d binaries into the correct location to use them. Refer to /etc/xinetd.d/imap for this location.
UPDATE
I'm no longer using UW-IMAP. It's great, but there were a few things I felt weren't up
to what I was afer. In particular, the method of sub-foldering was a drawback I
tried to overlook, but in the end felt it was more of a nuisance than not. I'm not
dissing the UW guys - they've done a great job with UW-IMAP - it's stable
and does very well what it claims to. It just wasn't the one for me.
I've moved to using Cyrus-IMAP. It's not for the faint hearted, but it's
got a lot of things a good sysadmin would like.