I'm trying to set up a mechanism whereby files can be mailed to addresses at a domain, to be processed by a script etc etc. There'll be a postfix server listening for mail to the domain (in postfix terms, I think it's a "virtual domain"), it'll use a PostgreSQL lookup to distinguish real from bogus recipients, and then it should hand off the mail body to a script that'll do various things.
I think that I understand how to get the server to listen for mail for a domain, and I'm pretty sure I've got the PostgreSQL configuration right (and I can test it with postmap and it seems to work). What's really confusing me however is how to get the transport mechanism set up. I think that what I need to do is define something via the "pipe" service in "master.cf", but the vastness of postfix and the myriad things it can do over and above the 1 simple thing I happen to want it to do are daunting impediments.
Is there some sort of easy-to-digest howto somewhere for this? There are all sorts of fascinating how-to articles for postfix, but so far the ones I've found are all about weird esoteric mail server challenges and not about the (probably dirt-simple) thing I need to do.