procmail
[Top] [All Lists]

Re: Forwarding Inside the SAME domain question

2002-12-13 17:14:12
On Fri, 13-Dec-2002, at 16:15:28 -0700, Doug Hubbell wrote:

Hello!

In my procmailrc file I have this and it does NOT work correctly:
       :0 c
       * ^From(_dot_)*nameONE(_at_)tecategroup(_dot_)com
       ! nameTWO(_at_)tecategroup(_dot_)com

How can I get this to check JUST once, and forward the message in the
SAME DOMAIN with out getting caught in a loop?

       :0 c
       * ^From(_dot_)*nameONE(_at_)tecategroup(_dot_)com
       * ! ^X-Loop: nameONE(_at_)tecategroup\(_dot_)com
       {
         :0 fw
         | formail -A "X-Loop: nameONE(_at_)tecategroup(_dot_)com"

         :0
         ! nameTWO(_at_)tecategroup(_dot_)com
       }


I think will work

--
It's better to burn out than it is to rust
  -- Neil Young as quoted by Kurt Cobain


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