zakx / tempmail

temporary e-mail address appliance including MTA and web frontend
32 stars 23 forks source link

tempmail

tempmail is a temporary e-mail address provider (including SMTP server and web frontend). Basically your own Mailinator -- only that it's not blocked everywhere.

Components:

Notable features:

You can see a demo installation at http://tm.zakx.de/.

INSTALL

  1. Get a virtualenv running.
  2. Install dependencies: pip install -U -r requirements.txt
  3. Copy settings.py-dist to settings.py and tweak the settings within
  4. Create the database tables by running python modules.py once.
  5. Start the SMTPd: twistd -y smtpd.py --logfile=smtpd.log
  6. Deploy the Flask-powered app.py, see their deployment docs
  7. Forward your port 25/tcp to your chosen SMTPD_PORT, like so: iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 25 -j REDIRECT --to-port 2500
  8. Set a MX DNS record for your domain(s)

...and that's it. If you need help, you'll find me on irc.hackint.org. Just /msg zakx.