Skip to main content

This is a milter to prevent receiving emails which has encrypted zip attachments.

Project description

no-ppap-milter

This Milter rejects the email which has encrypted zip file.

If the MTA receives such email, this will respond 550 5.7.1 We do not accpet encrypted zip. on the DATA command to reject it.

Requirements

CentOS7

yum install -y python3 gcc python3-devel sendmail-devel

Ubuntu 20.04

apt-get install -y python3-pip libmilter-dev

Install

pip install no-ppap-milter

Run

This will listen on port 9201 by default.

no-ppap-milter

If you want to use another port,

no-ppap-milter --socket-name inet:1234

will listen on port 1234.

If you want to use UNIX domain socket, invoke like this.

no-ppap-milter --socket-name unix:/var/run/milter.sock

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

no-ppap-milter-0.2.5.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

no_ppap_milter-0.2.5-py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page