Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

up vote 1 down vote accepted

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

host.example.com IN MX postfixserver.example.com

Then you can set up forwarding to forward to address@host.example.com 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

 
discard

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.