I have an app receiving emails. I followed this howto:
The app runs on Mac OS X Server, using its mail server (Postfix).
Fairly straightforward, imo. About the only thing I didn't learn from that howto was to invoke script/runner in the production environment (- e switch).
HTH.