We are using Postfix for mail delivery and I am trying to make a shell script handle an email sent to foo-bar-baz-bat@example.org.
Is there a way to do this and how?
If the example.org email is only used for discussions you could forward whole @example.org to your script. Or you could use @discussions.example.org.