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.

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
add comment

2 Answers 2

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
add comment

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: http://technet.microsoft.com/en-us/library/bb691132.aspx

share|improve this answer
add comment

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.