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

For automatically handling bounce mail in an application, I need bounces sent back to certain adresses only to be delivered by pipe to the program which will manage these. There is two options :

  • Forward those addresses to another SMTP server, which will pipe every received mail
  • Pipe only these addresses on the main mail server

Is there any efficient and simple way to do one of those with Postfix?


share|improve this question
up vote 1 down vote accepted

# vi /etc/postfix/

virtual_alias_domains = # virtual_alias_domains = virtual_alias_maps = hash:/etc/postfix/virtual

# vi /etc/postfix/virtual

You can also implement a catch-all address i.e. email sent to and should be forwarded to

Save and close the file. Type the following command to restart postfix:

# postmap /etc/postfix/virtual # service postfix reload

share|improve this answer
Thanks. If I understand well, there is no way to transfer them to another server without having to alias the address(es) with another domain ? – Pierre Oct 6 '10 at 12:16
yes your right :) – Rajat Oct 6 '10 at 12:22

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.