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
```cosole
pip install no-ppap-milter
Run
This will listen on port 9201 by default.
no-ppap-milter
If you want to use other ports,
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file no-ppap-milter-0.2.1.tar.gz.
File metadata
- Download URL: no-ppap-milter-0.2.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32073a1c05e472c81d117600c0add817d5a4b04e01d3aacc0f26ac26acc357b4
|
|
| MD5 |
3c97caf7100de6943d46909449cd7ba7
|
|
| BLAKE2b-256 |
15bd861b6ce230257c0e6e75b2ec73f40bf28c4de77d9b6946a0cdf0b709233c
|
File details
Details for the file no_ppap_milter-0.2.1-py3-none-any.whl.
File metadata
- Download URL: no_ppap_milter-0.2.1-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62f35092ceeb51a1dbb53eb2732a708831dbb0d27e36e908ad74ce53cad62152
|
|
| MD5 |
e5e66f62f95d50de8fa453dbbc34da7d
|
|
| BLAKE2b-256 |
707416c1c5456a07aa4cd38e369e5d6b1743c499e327ac747425f270d2aa15ed
|