procmail
[Top] [All Lists]

Re: Help with rule, please.

1999-05-28 16:03:07
On Fri, May 28, 1999 at 04:35:41PM -0400, Edward J. Sabol wrote:

You haven't really given us enough information to help you properly, but I'll
see if I can fill in the gaps with my mental telepathy power. *concentrating*
Yes, I think I'm seeing something.... It's coming into focus...

$s defined to be "[   ]*", correct?

Yes, I'm sorry if this isn't obvious.  I was under the impression everone
set up variables like this.

You probably just need to put parens around the first $s. Without the parens,
procmail thinks the variable name is $sCron which is probably undefined.

Ahhh....this explains it.  

By the way, unless "maint.cron" is a directory, then you should probably be
using a local lockfile with that recipe. (I.e., change ":0" to ":0:".)

I thought that this was automatic, if it was a file.

In the future when you have a receipe that you think should match but
doesn't, try turning on VERBOSE logging. It can help diagnose the problem.

Two peices of grief, it didn't help much, and my log gets **very** big
**very* quickly.

Thanks for your help!

Ciao!

-- 
"I've hired you to help me start a war. It's a prestigious line of work, with a 
long and glorious tradition."
                --Vizzini (The Princess Bride)

The Doctor What: Need I say more?           http://www.gerf.org/~docwhat/
docwhat(_at_)gerf(_dot_)org                    (finger 
docwhat(_at_)gerf(_dot_)org for PGP key)
KF6VNC

<Prev in Thread] Current Thread [Next in Thread>