Procmail lock failures and errors while writing
Posted
by
user58292
on Server Fault
See other posts from Server Fault
or by user58292
Published on 2010-12-15T08:18:49Z
Indexed on
2012/11/05
5:04 UTC
Read the original article
Hit count: 652
I'm setting up a mail server on an embedded linux system.
When sending mail to a local user I get the following error from procmail:
procmail: Lock failure on "/home/mail/ktos/.mailspool.lock"
procmail: Error while writing to "/home/mail/ktos/.mailspool"
procmail: Error while writing to "/var/spool/mail/ktos"
From root@waben Wed Dec 15 10:00:40 2010
Folder: **Bounced** 0
procmail: Lock failure on "/root/.mailspool.lock"
procmail: Error while writing to "/root/.mailspool"
From MAILER-DAEMON Wed Dec 15 10:00:41 2010
Subject: Returned mail: see transcript for details
Folder: /var/spool/mail/root 1732
And the mail goes to /var/spool/mail/root.
This is my /etc/procmailrc:
PATH=/usr/bin:/usr/local/bin
MAILDIR=$HOME/.mailspool
DEFAULT=$HOME/.mailspool
LOGFILE=/dev/pts/0
SHELL=/bin/sh
What could be the problem? I'm still pretty green with all the sendmail and procmail stuff as I'm primarily a developer.
© Server Fault or respective owner