SMTP server to deliver ALL mail to user@localhost

Posted by cam8001 on Ask Ubuntu See other posts from Ask Ubuntu or by cam8001
Published on 2011-03-03T12:18:12Z Indexed on 2011/03/03 15:33 UTC
Read the original article Hit count: 168

Filed under:
|

I'd like to configure an SMTP MTA to accept all mail addressed to any domain and deliver it to my local user account.

It would be very useful for debugging mail sent in some code I'm working on. I'll be running the server locally - no outside world interaction required.

To be clear:

[email protected] -> delivered to -> cam8001@localhost

[email protected] -> delivered to -> cam8001@localhost

[email protected] -> delivered to -> cam8001@localhost

© Ask Ubuntu or respective owner

Related posts about mail

Related posts about smtp