Skip to content

policyd-weight/policyd-weight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

policyd-weight

Public repository of policyd-weight by Robert Felber

Status of the project: abandoned due to time constraints

Policyd-weight is a postfix policy-server in order to score RBLs and bogus DNS-entries
from HELO, MAIL FROM and IP at the RCPT TO-stage. It is designed to run on a MX.

This allows to detect phishing, forged mail or spam very early without receiving the complete mail.

Thus it reduces compute-intensive checks like amavis or rspamd and rejects the mail
before DATA has been sent.

Installation (Linux, manually)

  1. Copy policyd-weight to /usr/bin/
  2. Copy policyd-weight.conf to /etc/
  3. Install dependencies, debian-based: libnet-dns-perl, libnet-ip-perl
  4. Create a user polw
  5. Create a systemd-unit-file that executes /usr/bin/policyd-weight start
  6. Modify /etc/policyd-weight.conf to suit your needs
  7. Run systemctl start policyd-weight
  8. Check with ps xa whether policyd-weight runs
  9. Add following to postfix' main.cf:
    smtpd_recipient_restrictions =
        permit_mynetworks,
        ...
        reject_unauth_destination,
        check_policy_service inet:127.0.0.1:12525
        ...

Notes

There should be packages for debian, ubuntu, openSUSE, Solaris (OpenCSW), gentoo, FreeBSD (ports), NetBSD

About

Official Repo of policyd-weight by Robert Felber

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages