Jon Drukman:
> I read this page http://www.postfix.org/FILTER_README.html but I am
> not having any luck getting my pipe set up.
>
> I want to make it so all mail destined for a particular subdomain is
> run through a script and then discarded.
For that, FILTER_README is not applicable (it delvers ALL MAIL)
through a content filter).
To deliver example.com to a pipe transport in master.cf,
use a transport map
/etc/postfix/transport
example.com pipe-transport:
And set up mail relaying in main.cf:
/etc/postfix/main.cf:
relay_domains = example.com
relay_recipient_maps = hash:/etc/postfix/example-recipients
/etc/postfix/example-recipients
[email protected] whatever
[email protected] whatever
This is a relay domain setup. Virtual aliases solve a different problem.
Wietse