I've written a small perl script (Mail Indigo Log File, or "milf" ) that I want to invoke with a python script using the "Email Received" trigger.
Milf takes a couple of command line switches for # of days of logfiles, which lines to suppress, etc.
I was wondering if, in the python script in the "Email Received" trigger, I could get access to the contents of the Subject line, or the whole RFC-822 body?
I would like to pass the command line switches to my Perl program, redirect the output to a temp file, then mail the contents of that temp file back to the my email address.
Thanks!
ps -- more than happy to post my script here once I get the whole thing working with Indigo.