procmail 2004-01-14 - By Benjamin J. Weiss
Back From: "Muhammad Rizwan Khan " <rizwan@(protected) >
> I am using procmail with sendmail, when i receive any mail, i want to do
some
> process on it i.e. parsing etc,,through my program written in GNU C++,,,
> How i can give my incoming mails to this program, so it can process my
emails.
You 're probably looking for something like this:
:0fw
| /usr/local/bin/program
:0:
* ^X-Program-Added-Header: value
some-mail-box
Check out 'man procmailrc ' and 'man procmailex ' (both without quotes),
they 're your friend. :)
Ben
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
|
|