So I'm setting up a raspberry pi at home to automate some tasks. I'd like it to run a terminal command when it receives an email.
Not sure exactly how to go about doing this.
Ideally I'd also like it to filter only messages from certain email addresses too. The command would most likely be in the subject line of the email.
Running Debian it's always on via ethernet.