Hi all newb here, I'm trying to add an entry in the aliases file that will pass the message body (or failing that, the whole email!) to a working perl script that sends the input to an sms. (It's for clients to tell us we REALLY have a problem via email
It looks like I can pipe to a command, but can't work out the syntax.
My script takes --message="messagetext" as an argument
so I need to somehow get postfix to do
mysmsscript.pl --message="<the email>"
so I imagine the alis would be something along the lines of:
smsEmail | mysmsscript.pl --message="<the email>"
I'm sure it's pretty trivial, but not my area of expertise