procmail
[Top] [All Lists]

Re: Forwarding to an app

1996-01-12 10:48:48

-- [ From: Keath Marx * EMC.Ver #2.5.02 ] --

Greetings,
  Not subscribed to the list so please reply directly.  I am new to procmail
and need it to forward incoming mail to an applications (mlist2html).  How
would I do this?  I need it to pass certain variables depending on the
subject.  I.E. if the subject is Quasar then the command needs to be .
/mlist2html quasar < (message)  Etc.  Thanks in advance!

Hey, even I can do this one. :) 
Just put a line inside your .procmailrc like

:0
* Subject: quasar
| ./mlist2html quasar

Just take out the rules from the example procmailrc and put in this one.
Don't forget to read the man pages (yes,they are terse). Also
if I remember correctly rules are case insensitive.

Good luck.

Mark Bynum
bynum(_at_)cs(_dot_)fsu(_dot_)edu

<Prev in Thread] Current Thread [Next in Thread>