Ok, this is what I have done so far:

Maildir mail on exim

Standard Debian install
Exim set up using option 1

Now we tell exim to deliver to procmail and procmail will deliver to the
maildirs (and filter as required)

Put the line |/usr/bin/procmail into to the .forward file in the users
$HOME directory,it is probably safest to ensure that this is the only line
in the file.

Now we need to create the maildir, for this we do it manually as
installing maildirmake on Debian appears to be a bit painful and requires
installing another package which holds this command as one of its parts.
The create the maildir (I use .maildir as it is what I am used to), run
these command from the users home directory (as the user):

mkdir .maildir
mkdir .maildir/cur
mkdir .maildir/new
mkdir .maildir/tmp

Now we need to create a .procmailrc file to filter the incoming mail and
place it into the maildir we have just created:

MAILDIR=$HOME/.maildir/
DEFAULT=$MAILDIR

## put any procmail recepies here

#one as an example
:0
�       ^Subject:.Cron*
�       .cron_jobs/

#always ensure that the destination directory ends with a / otherwise it
will deliver to an mbox style file rather than a maildir style directory.

This appears to work so far, the next steps are to get fetchmail going
(that�s pretty easy), an IMAP daemon running, then a webmail interface so
I can check my emails from work on the new Debian mail server.

If there is sufficient interest I am willing to document the entire
process and post to the list, hopefully there won�t be any glaring errors
in it, or in what I have done so far!



Reply via email to