procmail
[Top] [All Lists]

Looping problem

2002-06-06 18:12:24
 I dont really understand the 
* ! ^X-Loop: steve(_at_)DFAS(_dot_)com

I asume that I need it in the following recipe but cant get it to do what I 
want.

I asume that this is a looping problem, where do I put the X-Loop and what 
syntax do I use. I have tried to read up on it but I cant seem to find much in 
procmail, or procmailex. Or at least Ive missed it.

Here is part of the recipe.
####################

SUBJ_=`formail -xSubject: \
       | expand | sed -e 's/^[ ]*//g' -e 's/[ ]*$//g'`
:0
*  ! ^TO_steve(_at_)DFAS(_dot_)com

{
  :0 fwh
  | formail -I"Subject: NOT 2 STEVE-> ${SUBJ_}"
  :0:
  ! steve(_at_)DFAS(_dot_)com


########################

The problem is that when I test this in my "Sand box" It works. But when I put 
it into one of my rc.spam files with other recipies it gives me this out put.

### BELOW IS MESSAGE, NOTE THE MANY "STEVE-> NOT 2"

Date: Thu, 6 Jun 2002 19:09:46 GMT
From: Steve Night <steve(_at_)mailnet(_dot_)DFAS(_dot_)com>
To: steve(_at_)DFAS(_dot_)com
Subject: NOT 2 STEVE-> NOT 2 STEVE-> NOT 2 STEVE-> NOT 2 STEVE-> NOT 2
    STEVE-> NOT 2 STEVE-> NOT 2 STEVE-> NOT 2 STEVE-> NOT 2 STEVE-> NOT 2
    STEVE-> NOT 2 STEVE-> NOT 2 STEVE-> NOT 2 STEVE-> NOT 2 STEVE-> NOT 2
    STEVE-> NOT 2 STEVE-> NOT 2 STEVE-> NOT 2 STEVE-> NOT 2 STEVE-> NOT 2
    STEVE-> NOT 2 STEVE-> NOT 2 STEVE-> NOT 2 STEVE-> NOT 2 STEVE-> NOT 2
    STEVE-> test6 one

### Below is in the header of the message.

Return-Path: <steve(_at_)mailnet(_dot_)DFAS(_dot_)com>
Received: (from steve(_at_)localhost)
        by mailnet.DFAS.com (8.11.6/8.11.2) id g56J9t223374
        for steve(_at_)DFAS(_dot_)com; Thu, 6 Jun 2002 19:09:55 GMT
Received: (from steve(_at_)localhost)
        by mailnet.DFAS.com (8.11.6/8.11.2) id g56J9th23362
        for steve(_at_)DFAS(_dot_)com; Thu, 6 Jun 2002 19:09:55 GMT
Received: (from steve(_at_)localhost)
        by mailnet.DFAS.com (8.11.6/8.11.2) id g56J9t323350
        for steve(_at_)DFAS(_dot_)com; Thu, 6 Jun 2002 19:09:55 GMT
Received: (from steve(_at_)localhost)
        by mailnet.DFAS.com (8.11.6/8.11.2) id g56J9s123328
        for steve(_at_)DFAS(_dot_)com; Thu, 6 Jun 2002 19:09:54 GMT
Received: (from steve(_at_)localhost)
        by mailnet.DFAS.com (8.11.6/8.11.2) id g56J9sr23316
        for steve(_at_)DFAS(_dot_)com; Thu, 6 Jun 2002 19:09:54 GMT
Received: (from steve(_at_)localhost)
        by mailnet.DFAS.com (8.11.6/8.11.2) id g56J9r923304





_______________________________________________________
WIN a first class trip to Hawaii.  Live like the King of Rock and Roll
on the big Island. Enter Now!
http://r.lycos.com/r/sagel_mail/http://www.elvis.lycos.com/sweepstakes
_______________________________________________
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>