procmail
[Top] [All Lists]

Re: if this - than that - else this and that ;) - X-Priority - HIGH

2001-07-19 13:34:52
* michab <iniquity(_at_)gmx(_dot_)de> [010718 20:54]:
thx for that help.. now i have another tricky problem... ;)
maybe someone can help ?

i first started in this way.....

:0   
* ^Subject:.*Notification of CM transfer Request for Domain [.*].*
{
        :0   
        * ^status:.*\[CORE-81\].*       

        :0 a
              .............
}

what i want:

if * ^Subject:.*Notification of CM transfer Request for Domain [.*].* matches

-----> check the body for: ^status:.*\[CORE-99\].*

if $MATCH = 99 -----> copy to another user ELSE do nothing.....

can someone give me a hint her ??

thx a lot !!!!

Something like this might work:

:0c
* ^Subject:.*Notification of CM transfer Request for Domain [.*].*
* B ?? ^status:.*\[CORE-99\].*       
! to(_at_)someone

-- 
- Matt Dunford <> zoot(_at_)zotikos(_dot_)com ..
-. www.zotikos.com -- o,;-
        
My salad days,
When I was green in judgment.           
  -- William Shakespeare, Antony and Cleopatra
--
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail