Skip to main content

Postfix tools

https://img.shields.io/pypi/v/postscan.svg

Tools, scripts and config for use with the Postfix MTA.

  • Free software: GNU General Public License v3

postscan

Accepts system mail logs on standard input and provides individual details of all e-mail messages received. Note that this can produce a lot of output on a busy system.

Makes the following assumptions:

  • Postfix is your MTA

  • dovecot-lda is your delivery agent

  • (optional) SpamAssassin is set up

Run postscan --help for command-line options.

postresolve

Since sendmail -bv doesn’t work as expected, this fakes it to show you what a given user resolves to (e.g. by processing aliases)

tweak_clamav-milter

This script assumes clamav-milter and SpamAssassin have been installed.

tweak_clamav-milter

This will alter the configurations to suit SpamAssassin and ClamAV being invoked at SMTP time by milters, e.g. mail filter plugins.

Then, in your Postfix main.cf, set:

smtpd_milters = unix:/spamass/spamass.sock, unix:/clamav/clamav-milter.ctl

Credits

Development Lead

Other Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

1.1.1 (2023-03-27)

Fixed –local mode.

Handles new “lda(xyz)<33990><WTr+Om+dsWPGhAAAPWRvRg>” info.

1.1.0 (2020-06-30)

  • Extra ability to handle empty/weird Message IDs.

1.0 (2018-08-12)

  • First release on PyPI.

Metadata

Release files for Postfix-tools 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for Postfix-tools 1.1.1
File Interpreter ABI Platform
Postfix_tools-1.1.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Release files / Postfix_tools-1.1.1-py2.py3-none-any.whl

Download URL Postfix_tools-1.1.1-py2.py3-none-any.whl
Size 15.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
6c008189361f2e5bc7ded28c47d3aa65f1fd16538142129accde9ec74c6f1e65
BLAKE2b-256 checksum
How to use checksums
73dc0eefb00bec15c3b4c02e2f4dd4b4ecb46f20bb13bd57bfe725bcab1462e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.2

Release history Release notifications | RSS feed

This release

1.1.1 This release

1 release file

1.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page