[arch-general] postfix/procmail unable to write to /var/spool/mail/$USER
David C. Rankin
drankinatty at suddenlinkmail.com
Sat Dec 18 20:42:52 EST 2010
Guys,
I'm stuck on mail setup with a procmail error saying it can't write to
/var/spool/mail/$USER. It is a postfix error, but it is complaining about
procmail. An example of the error is:
Dec 18 19:10:37 localhost postfix/local[2104]: E238BE7E78:
to=<david at mymailaddress>, relay=local, delay=1.2, delays=0.14/0.04/0/1,
dsn=5.2.0, status=bounced (can't create user output file. Command output:
procmail: Error while writing to "/var/spool/mail/david" )
I'm fairly certain it is a user permission problem, but I can't recall ever
changing anything before on my other setups to get procmail working. In this
current config, /etc/postfix/main.cf has:
mailbox_command = /usr/bin/procmail -a "$EXTENSION"
The permission for /var/spool/mail are the exact same I have on my x86_64 Arch
server at home where procmail is working just fine:
[19:27 phoenix:/var/spool/mail] # l
total 386772
drwxrwxrwt 2 root root 4096 Dec 18 19:13 .
drwxr-xr-x 8 root root 4096 Dec 18 16:54 ..
-rw------- 1 david dcr 362640748 Dec 18 19:05 david
<snip>
Just as with that box, I moved the mail spool from the suse install to the new
install, so I don't think that would be the issue here. Anybody have any idea
why postfix/procmail can't write to /var/spool/mail?
--
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
More information about the arch-general
mailing list