FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux General Discussion

LinkBack Thread Tools
Old 12-19-2010, 12:42 AM
"David C. Rankin"
Default postfix/procmail unable to write to /var/spool/mail/$USER


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@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

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

Thread Tools

All times are GMT. The time now is 08:41 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org