Dump emails to a file. It can be used as a remplacement for sendmail or an SMTP server.
Project description
Mail Save
Save emails to a file. It can be used as a replacement for sendmail or a SMTP server.
You can install it with pip install mailsave or pip install --user mailsave
You can also use the single file version. Since mailsave only needs the standard library, you don’t have anything to install.
It is different from other tools like maildump because:
It is very minimalist: no Web or GUI interface, just files.
It can be used instead of sendmail.
To use in place of sendmail, just put the path to the mailsave executable instead of the sendmail one. For instance, in a php.ini file:
sendmail_path = /home/jenselme/.virtualenvs/test/bin/mailsave --dir mails
To use as an SMTP server, launch it like this:
mailsave --server --dir logs
Written for Python 3.5+.
History
0.3.0 (2017-07-06)
Don’t fail if script receive undefined option. It is important to act as a replacement for sendmail. Some program will try to call it with custom options.
Include LICENSE and HISTORY.rst in release made to pypi.
Add a single file version so users don’t have to install mailsave with pip.
0.2.0 (2017-07-05)
Can read mail from SMTP.
0.1.0 (2017-07-05)
Can act as a replacement of sendmail.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.