Skip to content

temporary e-mail address appliance including MTA and web frontend

Notifications You must be signed in to change notification settings

SupportingIT/tempmail

 
 

Repository files navigation

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:

  • Small SMTPd (python/Twisted), smtpd.py
  • Web Frontend (python/Flask), app.py

Notable features:

  • no-frills plaintext message display
  • no registration neccessary
  • multi-domain support
  • new mails can be deleted by anyone for 10 minutes
  • decoding MIME-encoded text

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.

About

temporary e-mail address appliance including MTA and web frontend

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 67.4%
  • HTML 32.6%