procmail
[Top] [All Lists]

File Updating via Procmail

1997-08-19 18:47:07
I want to create a procmail recipe that will do the following:

If the subject contains the word XYZ, then]

look for the first instance of 
#(_at_)#

And the last instance of 
#(_at_)#

Take all the text between these two markers, and name it filefix.html,
and replace the current version of /user/public_html/filefix.html with
this new version that is between the markjers of the email message.

I know this can be done easily, but I just do not understand Procmail
well enough to make it do this.

Does anyone have a ready-made recipe that does something similar that I
can modify to do my job? Or can anyone suggest a recipe that will do
this? I would be very grateful for the help.

Thanks in advance -

-Jeff
-- 
                +-----------------------------------+
                |            JEFF HALPER            |
                |        http://www.ihot.com        |
                |       mailto:jeff(_at_)ihot(_dot_)com        |
                |   408/881-1000  Fax 408/293-3456  |
                +-----------------------------------+

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