I have postfix and procmail to locally deliver mail.
Every time I get mail in my inbox (ie. /var/mail/davidf)
when I do the mailstat command to get a summary of
new email into which boxes, it looks like:
0 1 ## procmail: Error while writing to "/var/mail/"
18390 6 /home/davidf/Mail/slug
1841 1 /var/spool/mail/davidf
The question is: why do I get the procmail error?
This is the permissions on /var/mail:
1 drwxrwsr-x 2 root mail 1024 Mar 12 15:34 .
My guess is that procmail is trying to create a tmp lock
file or something in /var/mail and is running as davidf
not root so doesn't have permission. But I don't want to
have procmail run as root, and neither should it. Nor
do I want to give everyone write access to /var/mail, so if
this is the problem, what's the solution?
And why does procmail show /var/spool above? It doesn't really
matter cos it's a link to /var/mail anyway but is annoying
me. There's no system procmail conf file I can find and my
.procmailrc only has /var/mail so where's it come from?
Thanks,
Dave.
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug