procmail
[Top] [All Lists]

Loop difficulty

2000-08-12 15:45:23
Perhaps someone can assist me with the following recipe:

# First back everything up
:0 c
mail/backup


# Filter mail from special and send notice
:0 h
* ^FROM(_dot_)*special(_at_)ez(_dot_)net
* !X-Loop: steve(_at_)ez(_dot_)net
| $HOME/notice.pl
        {
        :0:
        * !X-Loop: steve(_at_)ez(_dot_)net
        $DEFAULT
        }

# end of /home/steve/.procmailrc

I want the script to perform the following actions:

        1. Backup everything
        2. Filter out messages that come in from special(_at_)ez(_dot_)net and
                a. Execute a notice script
                b. Place the incoming mail in the file DEFAULT

My result to date is that the notice.pl script is properly executed but the delivery agent goes into a loop and doesn't deliver to DEFAULT.
--
  **********************************
* Stephen J. Schilt - Internet Easy
* Internet Training, Programming & Web Services
* steve(_at_)ez(_dot_)net *  http://interneteasy.com/
* Tel:(714)641-4808 & (949)673-5494
* Fax:(714)641-4804 & (949)673-3506
  **********************************

_______________________________________________
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>