I am pretty new to unix and procmail and all, but I have been handed the
task of setting up a somewhat complex email processing system.
Basically, it needs to do the following:
We are running a contest via email, based on a financial program which
our company authored. I have ported the finincial program to unix, and
it take 5 variables (marketing decisions, etc) from an ASCII file,
processes them, and mails a report of the results of the decisions to the
contestants.
Thus far, I have the reading of the ASCII file, processing,m and
mailing of the reports done. What I need to do, is take an email
message, somewhat resembling the following:
TEAM teamname
PRICE nn
PASSWORD nnnnnnn
etc...
And create an ASCII file with that information for our financial
program to process. The ASCII file needs to be places in a certain
directory, which is determined from the team's name.
I have been told in several newsgroups that the tool for this job is
procmail, so now I have procmail, and I am not quite sure how I would
apply it to this situation. If anyone could suggest any FAQs or books or
anything, which would be relevant, I would really appreciate it. Also,
if procmail is not the best solution, or other tools would augment
procmail in a fairly simple setup, I would appreciate any information
about them as well. Also, I am not a total dimwit, but I am far from a
unix expert, so simple explanations would be appreciated.
I am running linux.
Thank you very much!