procmail
[Top] [All Lists]

Recipe ordering.

1997-01-15 10:00:33
I am fairly new to scripting languages of any sort, but I have been
trying to get procmail working, since it appears it should save me a
lot of time. However, I have found my limits and can't seem to either
word, or order the ideas correctly for the recipe to work.

What I am trying to do is take mail from a mailing list, checking to
see if it is from a certain user, checking to see if it has a certain
subject, and if so... to put it into a file, not necessarily a folder.

Specificly, my problem lies in two areas. First, I know how to get the
recipe to copy the file so I retain the original in my inbox, but I
don't know how to get it to put the file anywhere other than in my
$MAILDIR. Second, is there a way to strip the headers, including the
subject so that the file created just contains the text in the body of
the message?

I would also like to know if there is a way for the recipe to check to
see if the file already exists, so it can remove that file before it
creates the new one.

Thanks in advance.

Willie


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
   _  | __   _|    _  \    _  \    _  |    _  \   \   |    ___| 
  |   |     |     |   |   |   |   |   |   |   |    \  |   |     
   _  |     |         /    _  |   |   |       /       |    __|
  |   |     |     |   \   |   |   |   |   |   \   |   |   |
__| __| ______| __| __| ______| ______| __| __| __| __| ______|
Willie Williams | airborne(_at_)wizvax(_dot_)net | 
http://www.wizvax.net/airborne
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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