Does anyone know what needs to be configured for postfix so that emails can be sent to localhost and received from localhost?
e.g. send an email to user1@localhost will:
- result in user1 receiving an email in their mail client (configured to receive local emails)
- user1 can then respond to user2@localhost
- Both user1 and user2 are configured on the same machine i.e. if there is no internet/network connection both these users can still send and receive to/from each other.
The reason I ask is because I want to set this up for a dev environment so that I can test an application I am developing.