Linux – Simple SMTP server which can redirect all mail to single address

centoslinuxmail-forwardingsmtp

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?

Best Answer

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

Related Topic