I am trying to come up with a system that will allow me to take incoming
e-mail messages and enter key fields into a database.  So, for example, all
e-mails to [EMAIL PROTECTED] will be pulled apart and fields like
Problem Description, Date, Priority, etc. will be pulled out of the message
body and inserted into a mySQL database.  First off, does anybody know if
there is any software out there that does this already (I did not see any on
Sourceforge or Freshmeat)?  If not, perhaps you can help me to make my first
baby steps here.  I've got the messages downloading into Sendmail using
Fetchmail and have come up with a Procmail recipe that pushes any messages
with a certain subject line into a program for processing.  If I set that
program to 'cat >> /tmp/msg' I see the message dumped into the /tmp/msg
file.  If I set that program to '/home/ae/MyBashScript' where MyBashScript
is:

#!/bin/bash
echo $1 >> /tmp/msg

...I do not get the same result.  Am I missing something here?  

Thanks in advance,
AE



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to