Re: procmail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Muhammad Rizwan Khan" <rizwan@xxxxxxxxxxxx>
> 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@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux