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
Ta.
Recent comments
16 hours 16 min ago
21 hours 15 min ago
22 hours 41 min ago
23 hours 34 min ago
1 day 1 hour ago
1 day 5 hours ago
1 day 6 hours ago
1 day 8 hours ago
1 day 21 hours ago
1 day 23 hours ago