I've tried to configure postfix to execute the script /tmp/test.sh each time the user "bounce" receives a mail. My /etc/postfix/aliases:
...
bounce: "| /tmp/test.sh"
...
If I send an mail to that user, I get back:
<"| /tmp/test.sh"@mydomain>: user unknown
What have I missed, or what am I doing wrong?
EDIT: Even after removing the quotes: Same error... Script is executable and interpreter is set in first line