THe other day I installed qmail. THe instructions involved creating a
symbolic link from /var/spool/mail/username to $HOME/Maildir. I was having
some difficulty with qmail, but teh end result seemed the same with
symbolic links using Sendmail - giant unparsed messages.
I would recommend using qmail without the /var/spool/mail bit. It's
easier and more reliable to configure it to deliver directly to
$HOME/Maildir.
That is done in the rc file, e.g.:
jill@mailhost:qmail$ pwd
/var/qmail
jill@mailhost:qmail$ cat rc
#!/bin/sh
# Using splogger to send the log through syslog.
# Using qmail-local to deliver messages to ~/Mailbox by default.
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start ./Maildir/ splogger qmail
I have no idea why I'm having this unparsed directory problem. I'd like to
know if I can get this to work using sendmail, or whether I absolutely
must need qmail.
I only know how to do it with qmail, but I'm sure it's possible with
sendmail.
The qmail setup instrcutiosn are confusing. It says to copy the
/var/spool/mail/user file as well as creating a symbolic link to the
Maildir directory. I don't understand how this is all supposed to work.
However, it says to do that in INSTALL.mbox, which is for using the
mbox format, not maildir. Courier will not work with the mbox
format. Instead, look at INSTALL.maildir.