I am trying to configure postfix so that ALL mail that arrives (to any domain) is piped into a shell script that I have.
I have tried several things, including setting
mailbox_command = path_to_my_script
and this works, but will only accept mail to actual local accounts.
I also tried to set
which I believe is supposed to accept all mail, but this does not seem to work.
I am running postfix 2.5.5-1.1 on Ubuntu Jaunty (9.04).