Skip to content

it4ch1/mail-vagrant

 
 

Repository files navigation

This is a Vagrant Environment for a Mail Server. It provides the Message Transfer Agent (MTA) and the Mail Delivery Agent (MDA).

This lets you easily test your application code against a real sandboxed Mail Server.

It uses the following software stack:

Usage

Build and install the Ubuntu Base Box.

Run vagrant up to configure the mail.example.com mail server environment.

Configure your system /etc/hosts file with the example.com and mail.example.com domains:

192.168.33.254 example.com
192.168.33.254 mail.example.com

Access http://mail.example.com and follow the instructions to configure your Mail Client with a pre-configured account (all use the password password):

This also has some pre-configured aliases to [email protected]:

root
abuse
postmaster
hostmaster
mailer-daemon

At http://mail.example.com/examples you have some examples on how to programmatically use the mail server (e.g. from Python).

To troubleshoot, watch the Mail Server logs with vagrant ssh and journalctl --follow.

About

A Mail Server in a Vagrant sandbox

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 37.7%
  • CSS 36.5%
  • HTML 19.0%
  • Python 5.5%
  • Makefile 1.3%