Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can somebody throw me in the right direction in order to get emails forwarded from Google Apps to be piped by Postfix to a PHP Script? This answer didn't helped much but to tell me that I need to confgiure a subdomain in order to receive the email and pipe them to a php script. Is it right?

share|improve this question
up vote 1 down vote accepted

You will need a MX record pointing at the postfix server, for example: IN MX

Then you can set up forwarding to forward to where address is the alias on the postfix server that's piping to the script.

Also, be aware, only system aliases in /etc/aliases can be piped to scripts in Postfix, virtual aliases can't be setup to use a pipe.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.