procmail
[Top] [All Lists]

question on rules

2004-04-08 02:45:19

Hello,

I'm trying to write the following procmail rule:

:0B
* condition based on msg body
{
  run my filter (filter may modify the msg and prints it back to stdout

  condition on the filter output (if a certain condition is met
  send a reply to the sender - with the modified msg body)

  | formail -rkb \
  | ${SENDMAIL} -t
}


I'm quite new to procmail and I've been using a trial and error 
type approach with not luck so far.

I'm not sure how to use the output of the filter to the next condition.

thanks a lot

Lukasz

-------------------------------------------------------------------------
| Lukasz Opyrchal                    |           University of Michigan |
| http://www.eecs.umich.edu/~lukasz  |  Dept. of Electrical Engineering |
| lukasz(_at_)eecs(_dot_)umich(_dot_)edu              |             and 
Computer Science |
-------------------------------------------------------------------------



_______________________________________________
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>
  • question on rules, Lukasz Opyrchal <=