Theodotos Andreou 4ce0ba0449 | пре 5 година | |
---|---|---|
LICENSE | пре 5 година | |
README.md | пре 5 година | |
call_alerts.py | пре 5 година | |
sms_alerts.py | пре 5 година |
These two python scripts will accept a mail message at STDIN and call or text via the Twillio service
You need to adjust these values in the scripts:
You can find the account_sid, auth_token and from_ values at https://twilio.com/user/account
You can copy the scripts under the /usr/local/sbin directory
Then add these lines in /etc/aliases:
alerts: "|/usr/local/sbin/sms\_alerts.py"
call: "|/usr/local/sbin/call\_alerts.py"
and run newaliases