GitXplorerGitXplorer
h

no-ppap-milter

public
2 stars
1 forks
0 issues

Commits

List of commits on branch main.
Unverified
0c35dfe2825e5c4375b73d58c8807109ed339555

remove debug code, use logger instead of print

hhirachan committed 3 years ago
Unverified
6e708763428fdef2b6cebf0d62dda7aa14eee1ad

pass thru email if error occurs

hhirachan committed 3 years ago
Unverified
f285ba3bfc87ec313e3f4a9117f456644852ca06

remove dataclass for 3.6

hhirachan committed 3 years ago
Unverified
4a45d20968149f3604fef475b503f6d53075a7ef

fix README

hhirachan committed 3 years ago
Unverified
08554af958285cf61d55c0e3c116b62d05414200

verup

hhirachan committed 3 years ago
Unverified
b039cd014de68d9f675540774e90b2b875168db1

add license

hhirachan committed 3 years ago

README

The README file for this repository.

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