Greetings,
I have tried searching the list archives, but I did not find an answer,
and neither see this in any documentation that I am aware of.
I am trying to inset the current date (recipe execution date) into the
headers of all incoming email (was asked to do so), and here is the
Recipe.
:0 fhw
| $FORMAIL -A "X-Email-Status: Processed at $DATE"
My question is, how do I capture the output of the date command and
place it in the headers like the above?
I tried
DATE='/usr/bin/date -R'
But I still get the header inserted as
X-Email-Status: Processed at /usr/bin/date -R
Can this be done?
Any pointers are welcome.
Thank you.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail