Skip to content
temporary e-mail address appliance including MTA and web frontend
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
templates template bugfix Apr 9, 2013
.gitignore EOF newlines Apr 9, 2013
README.md
__init__.py
app.py
models.py Next revision: web frontend works Apr 9, 2013
requirements.txt
settings.py-dist
smtpd.py
test_smtp.py

README.md

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.

You can’t perform that action at this time.