procmail
[Top] [All Lists]

Re: Recipe problem

2003-10-07 09:10:48
On Mon, Oct 06, 2003 at 04:31:46PM +0200, Ruud H.G. van Tol wrote:
Toen ik Chuck Campbell kietelde, kwam er dit uit:

With '^SENDER' I think you mean '^Sender:'. 

I didn't realise this was case sensitive, I've changed that.


The '^FROM_DAEMON' should not be there. See 
man procmailrc for the underlying regexp: 
you should not put 'linux-kernel' after it 
(or anything else).

OK, fixed as well.


Your 'l*' at the end means: 0 or more el-s.

removed, I was attempting to catch things like linux-kernel-owner and 
linux-kernel.

I clearly need some remedial regexp work :-

Focus on these headers:

Sender: linux-kernel-owner(_at_)vger(_dot_)kernel(_dot_)org
Precedence: bulk
X-Mailing-List: linux-kernel(_at_)vger(_dot_)kernel(_dot_)org

That inspires

  :0:
  * ^X-Mailing-List: \/[^(_at_)]+
  $MATCH

I thought all the X-..... headers are optionally inserted by various
programs.  Is X-Mailing-List: guaranteed to be there from any mailing list
these days?


For a more complete recipe, see the recent entry by 
Sean B. Straw / Professional Software Engineering 
in the thread "general mail list rules".

Where is this list archived?  I don't have any saved recent messages with
this thread subject.

thanks,
-chuck


-- 
ACCEL Services, Inc.| Specialists in Gravity, Magnetics |  1(713)993-0671 ph.
 2401 Fountain View |   and Integrated Interpretation   |  1(713)993-0608 fax
     Suite 320      |                                   |
 Houston, TX, 77057 |          Chuck Campbell           | 
campbell(_at_)accelinc(_dot_)com
                    |  President & Senior Geoscientist  |

     "Integration means more than having all the maps at the same scale!"

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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