https://github.com/the-mcgrail-foundation/mimedefang
MIMEDefang is an e-mail filtering tool that works with the Sendmail “Milter” library. MIMEDefang lets you express your filtering policies in Perl rather than C, making it quick and easy to filter or manipulate your mail.
https://github.com/the-mcgrail-foundation/mimedefang
antispam email filter perl security smtp
Last synced: about 1 year ago
JSON representation
MIMEDefang is an e-mail filtering tool that works with the Sendmail “Milter” library. MIMEDefang lets you express your filtering policies in Perl rather than C, making it quick and easy to filter or manipulate your mail.
- Host: GitHub
- URL: https://github.com/the-mcgrail-foundation/mimedefang
- Owner: The-McGrail-Foundation
- License: gpl-2.0
- Created: 2020-03-20T01:37:02.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-06-16T13:12:11.000Z (about 1 year ago)
- Last Synced: 2025-06-16T14:36:28.254Z (about 1 year ago)
- Topics: antispam, email, filter, perl, security, smtp
- Language: Perl
- Homepage:
- Size: 11.1 MB
- Stars: 29
- Watchers: 10
- Forks: 8
- Open Issues: 5
-
Metadata Files:
- Readme: README.NONROOT
- Changelog: Changelog
- License: LICENSE
Awesome Lists containing this project
README
Running MIMEDefang as non-root
------------------------------
It is required to run MIMEDefang and the multiplexor as non-root. You
should create a dedicated user for MIMEDefang. In the examples, I'll
call this user "defang".
To run as defang:
1) Supply the "-U defang" option to mimedefang.
2) Supply the "-U defang" option to mimedefang-multiplexor.
3) Make the spool and quarantine directories owned by defang, with mode 700.
4) If you are using statistics logging in the default /var/log/mimedefang
directory, make that directory owned by defang with mode 755 or 700, depending
on your tastes.
5) You *MUST* create the socket(s) and pid file(s) in the spool directory.
As of MIMEDefang 2.13, this is the default. You may have to edit your
sendmail.cf or sendmail.mc file to use /var/spool/MIMEDefang instead of
/var/run as the directory containing the milter socket.