I'm new to procmail. I want to automate something that is now
dependent on me actually retrieving mail. Forgive me if the
description and scenario is a bit long.
I receive student papers weekly in email format. The students have
been told that the only acceptable formats for such papers is either
in Microsoft Word's .doc format or in the more cross-compatible .rtf.
I won't accept papers in any other formats. Currently I retrieve
mail, filter on the subject line (which will always contain a keyword
to facilitate the filtering), and then determine whether the
attachment is in the correct format. If the format is correct, the
student automatically receives an email receipt telling them that I
received their document in an apparently acceptable form. If the
paper comes in as an incorrect format, the student gets an email
telling him/her that the paper needs to be resent in the proper
format. This is trivially easy to do with my current setup, but it
requires me to do something - fetch the email before the filtering is
I'd like to accomplish this without my intervention. I'd like to
filter the email on my University's Unix server, and generate the
"receipt" before I ever explicitly fetch the mail to my client
machine. This would expedite the process dramatically and reduce the
number of complaints I get from students about the disconnect between
the time they send the papers and the time they find out whether it is
or isn't in an acceptable format.
Any pointers to a skeleton procmail recipe that models this type of
behavior would be appreciated. I have several procmail references and
I have a general sense of how it works, but haven't run into any
recipes that I can adapt/model this response.
Thanks for any help you can offer.
Dr. Marc Feldesman
Portland State University
If you received this email by mistake, blame my computer, not me.
procmail mailing list Procmail homepage: http://www.procmail.org/