procmail
[Top] [All Lists]

Recipe not matching

1999-10-04 13:14:47
I'm having a little problem.

This part of a recipe:

>> begin recipe
REJECT = `cat $HOME/banned1.txt`
:0
* $ ^(From|Reply-To|Return-Path|Sender|X-Envelope-From|Resent-From|Received):(.* @([^@<>.]+\.)*)\/$REJECT\>
<< end recipe
(the "* $ ^(From|Reply..." is 1 line long)

is not matching the following header:

>> begin header
Received: from Elaine (as5300-160.opus.com.br [200.246.226.160])
        by postman.opus.com.br (8.9.0/8.9.0) with SMTP id QAA02715;
        Mon, 4 Oct 1999 16:45:48 -0200
From: Sender Name Here
  <sender(_at_)mail(_dot_)opus(_dot_)com(_dot_)br>
<< end header
(there is a carriage return originally in the From: field...)

The file banned1.txt is like this:

(domain1\.com|\
....
mail\.opus\.com\.br|\
opus\.com\.br)

Any idea of the problem???

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