procmail
[Top] [All Lists]

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

2001-07-19 17:39:49
thx .... i did it now this way...

:0 HB
* ^Subject:.*Notification of CM transfer Request for Domain [.*].*
{
        :0 HB
        * !^status:.*\[CORE-99\].*
        <action to be done>

}

greetings,
micha

* 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


-- michab, iniquity(_at_)gmx(_dot_)de on 20.07.2001

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