Is it possible to configure sendmail to accept all outbound email but to not send it out? Either it can just log them to be read later, or better yet, if it can be configured to send ALL outbound mail to a preconfigured recipient (regardless of what is specified in the email).
We work on developing applications for e-commerce. Our development environments are Ubuntu Desktop (11.10).
We run a full application stack locally on each desktop - web server, application server, database etc.
Our application sends out email when certain events occur.
We do not actually want the email to be sent to the intended recipient, because this is not from a production environment.
We would like the application to think that the sending of email has been successful.
We would like to see the email, post-facto, that gets sent out.
Note, we are on Ubuntu. If not sendmail, then maybe some other mail server?