procmail
[Top] [All Lists]

Re: test results not as expected

2010-03-29 07:05:17
Bart Schaefer <barton(_dot_)schaefer(_at_)gmail(_dot_)com> writes:

On Sun, Mar 28, 2010 at 4:00 PM, Harry Putnam <reader(_at_)newsguy(_dot_)com> 
wrote:
:0
* ^Subject:.*$ALNU16
t1.bk/.

You need to tell procmail to expand variables in the pattern,
otherwise $ means a line break.

:0
* $ ^Subject:.*$ALNU16
t1.bk/.

Ahh thanks. In many yrs of procmail use... I never new about using the
dollar sign that way.  But my usage has always pretty primitive.

I guess I've mostly used variables for logging.

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)de
http://mailman.rwth-aachen.de/mailman/listinfo/procmail

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