[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vps-mail] Procmail rule help
- Subject: Re: [vps-mail] Procmail rule help
- From: Scott Wiersdorf <scottw@xxxxxxxxxxxx>
- Date: Tue, 7 Jun 2005 10:19:16 -0600
On Tue, Jun 07, 2005 at 11:58:32AM -0400, Jim Smith wrote:
> > (3.)
> > Log files wellsfargo.log and wellsfargo2&3.log files have
> > nothing in them.
> > Log file wellsfargo4.log has this:
> > procmail: Lock failure on "/var/mail/clientmailbox.lock"
> > procmail: Error while writing to "/var/mail/clientmailbox"
> > procmail: Lock failure on "/var/mail/clientmailbox.lock"
> > procmail: Error while writing to "/var/mail/clientmailbox"
> >
> > Why would the lock not work? Is that what is wrong?
Yes, this is what is wrong. Make sure that the file
/var/mail/clientmailbox exists and is writable by that user. The
ownership of that file should be username:mail and permissions 0600
is enough.
Also, make sure that instead of writing directly to the spool file,
put $DEFAULT instead; this will make the procmail recipe portable
across users and mailbox locations (should you ever move an account
to Signature, for example).
:0:
* H ?? ^From:.*wellsfargo\.com
$DEFAULT
This ought to be quite enough. If this recipe doesn't work, try this
one with some logging:
LOGFILE=wellsfargo1.log
VERBOSE=yes
:0:
* H ?? ^From:.*wellsfargo\.com
$DEFAULT
VERBOSE=no
and send us the contents of wellsfargo1.log as well as mail headers
as you've done.
Scott
--
Scott Wiersdorf
scottw@xxxxxxxxxxxx
======================================================================
This is <vps-mail@xxxxxxxxxxxx> <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).
Main Index |
Thread Index