Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

We're in the process of setting up a continuous-integration server (Hudson running on CentOS5), and some of our unit tests will cause email to be sent. We'd like to configure the server so that all email sent via the local SMTP server is routed to a single (development) email address (rather than a user on the box) so that we can ensure the email structure/content is correct.

Can you suggest a simple SMTP server app we can install and provide a sample config to achieve this?

share|improve this question

It seems that you are looking for Dan Bernstein's mini-qmail, Bruce Guenter's nullmailer, or similar.

share|improve this answer
nullmailer won't do this, AFAIK --- it will send mail to an upstream server, but won't change the address. – David Given Oct 12 '12 at 10:16

If you have Exchange you can set a transport routing rule so that all mail from a particular address is redirected to a single mailbox. Not a direct answer to your question but you may not need any other SMTP server.

MS has a FAQ for your basic case:

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.