title: Linux - read emails and run script from gmail relay
body: <p>I'm using Ubuntu and set postfix up to use gmail as a relay to send mail following this <a href="https://www.howtoforge.com/tutorial/configure-postfix-to-use-gmail-as-a-mail-relay/" rel="nofollow noreferrer">guide.</a> I can send emails fine but I would like to receive emails and run a script like <a href="https://serverfault.com/questions/261191/how-to-run-a-script-when-a-mail-arrives-in-mail-server-debian">this.</a> Is it possible to receive emails from my relay and then run a bash script?</p>