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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file no-ppap-milter-0.2.5.tar.gz.

File metadata

  • Download URL: no-ppap-milter-0.2.5.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.5 Linux/3.10.0

File hashes

Hashes for no-ppap-milter-0.2.5.tar.gz
Algorithm Hash digest
SHA256 078e8abee48f6f124a6a07ef9effa739ca1bb5d2736faeed8c5f10d74ee08787
MD5 7ae1d25f210755b99f94bbee4b15107d
BLAKE2b-256 39d4641e71c09c9b69e133285cb6e81d57b4d03e1868f30b9e8a6000ee74e876

See more details on using hashes here.

File details

Details for the file no_ppap_milter-0.2.5-py3-none-any.whl.

File metadata

  • Download URL: no_ppap_milter-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.5 Linux/3.10.0

File hashes

Hashes for no_ppap_milter-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 2523d24dcf966ca5d3f62cbf23e2abc37f91cae7ca350c460bb9443120506a47
MD5 043a583c150a69adb6d75d05988ded0f
BLAKE2b-256 b0e69165bd1cee65e1906382e433aa67e67d870968cfda23f5394ba8110c2878

See more details on using hashes here.

Supported by

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