title: Docker: how to use container to replace real smtp server?
body: <p>I built up my development environment using Docker containers, but currently all mails are sent by smtp server in my company, I cannot use it for testing. Is there a way that I can create a container that replaces the real smtp server? Do I need a DNS?</p>
  
  <p>Thanks.</p>