Hi. I'm struggling to get procmail to forward the body of a message to my perl script.
I can match on the subject line O.K but it doesn't seem to pass the message body to the script.
My procmail recipe is :-
E-mails with "heartbeat" work fine but e-mails with "Daily Audit" run the script but don't pass any information to it.
I've spent weeks looking for help on this but haven't had any joy. Can someone please help ?
Thanks
I can match on the subject line O.K but it doesn't seem to pass the message body to the script.
My procmail recipe is :-
Code:
:0
* ^Subject:.*heartbeat.*
| ./checkmail/heart2db.pl
:0
* ^Subject:.*Daily Audit.*
{
:0 bw
| ./daily_audit/daily_audit.pl "$MATCH"
}
E-mails with "heartbeat" work fine but e-mails with "Daily Audit" run the script but don't pass any information to it.
I've spent weeks looking for help on this but haven't had any joy. Can someone please help ?
Thanks