procmail
[Top] [All Lists]

Re: Sending Auto Replay on Recipe Failure

1997-12-03 15:39:16
On Tue, 2 Dec 1997 23:54:03 -0500 (EST),
fwf27775(_at_)pegasus(_dot_)cc(_dot_)ucf(_dot_)edu (Fritz W Feuerbacher) wrote:
In other words, if they sent something that matched a recipe then
no reply, otherwise reply saying a problem has occured.

The last recipe before the end of your .procmailrc could be
unconditional. If no recipe before that matched, this will.

On Wed, 3 Dec 1997 00:22:46 -0500 (EST),
Fritz W Feuerbacher <fwf27775(_at_)pegasus(_dot_)cc(_dot_)ucf(_dot_)edu> wrote:
On Tue, 11 Nov 1997, Ken Hooper wrote:
* ^Subject:[    ]*.*subject
             ^^^^ 
               You have two many spaces here.
it was expecting at least four spaces.

No, repeats in character classes are merely redundant. What you want
is a tab and a space, usually, or otherwise just " *" without the
brackets.

On Wed, 3 Dec 1997 00:55:23 -0500 (EST),
Fritz W Feuerbacher <fwf27775(_at_)pegasus(_dot_)cc(_dot_)ucf(_dot_)edu> wrote:
* ^Subject:.*Guidelines
              ^
              what does the dot in from of the star mean?

"any character". The star means "repeat the preceding regular
expression (lone character, character class, or parenthesized regular
expression) zero or more times". There is also the plus quantifier,
which means "one or more times". 

You might want to check out one of the many Procmail tutorials on the
Web; see <http://www.iki.fi/~era/procmail/links.html>

Hope this helps,

/* era */

-- 
 Paparazzi of the Net: No matter what you do to protect your privacy,
  they'll hunt you down and spam you. <http://www.iki.fi/~era/spam/>

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