
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Dump emails to a file. It can be used as a remplacement for sendmail or an SMTP server.
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 <https://framagit.org/Jenselme/mailsave/tree/master/dist/mailsave.py>
__. Since mailsave only needs the standard library, you don't have anything to install.
It is different from other tools like maildump <https://pypi.org/project/maildump/>
__ because:
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 mails
Then you can send it emails with the SMTP protocol:
::
swaks --to user@example.com --server localhost --port 2525 --add-header "X-Custom-Header: Swaks-Tested"
To view the full help, use:
::
mailsave --help
Written for Python 3.5+.
-t
option. This is useful if the dots of the mail are escaped before being sent to the script, ie a dot (.
) at the start of a line is replaced by two dots (..
).FAQs
Dump emails to a file. It can be used as a remplacement for sendmail or an SMTP server.
We found that mailsave demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.