Hello All,
I've searched the FAQ and mailing list archive but couldn't find a solution.
I'm hoping someone can help me.
My box has linux 7.0, qmail 1.0.3
I can successfully run qmail where it delivers the mail to the Maildir or
Mailbox in the user's home dir.
Now I'm trying to make it deliver the mail to /var/spool/mail/<username>
My /var/qmail/rc file looks like this
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start '| preline -f /usr/bin/mail.local -f
"${SENDER:-MAILER-DAEMON}" -d "$USER"'
This is from sample rc file /var/qmail/boot/binm1. I changed the path to
suit the location of mail.local on my box.
I get the following error in the qmail log.
@400000003b2866de266761fc delivery 12: deferral:
mail.local:_/var/spool/mail/benl:_Permission_denied/
Here's the permissions on /var/spool/mail
drwxrwxr-x 2 root qmail 4096 Jun 14 17:04 mail
Because of the error message it lead me to believe the permissions on the
directory were not write. So I tried a combination of changing
owner.group.permissions to o+rw, but I still get that error.
Any help would be greatly appreciated.
Thanks,
Ben
Qmail Wannabe