[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [vps-mail] Procmail rule help
> Yes, this is what is wrong. Make sure that the file
> /var/mail/clientmailbox exists and is writable by that user.
Yeah, sure Scott, that's pretty obvious. I mean, I couldn't possibly
overlooked something that simple, right? <harrumph!>
Oops...
Durn! A tiny little typo. The user name looked fine! <blush>. Ok. Now that
I've spent all this time troubleshooting this and wasted other folks' time
helping, I've got it right now and will crawl away for a while and pound my
head on the desk until common sense comes back to me. Sorry to all for the
wild goose chase. Neeeeever mind.
Regards,
Jim Smith
> -----Original Message-----
> From: owner-vps-mail@xxxxxxxxxxxx
> [mailto:owner-vps-mail@xxxxxxxxxxxx] On Behalf Of Scott Wiersdorf
> Sent: Tuesday, June 07, 2005 12:19 PM
> To: vps-mail@xxxxxxxxxxxx
> Subject: Re: [vps-mail] Procmail rule help
>
> 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).
>
======================================================================
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