Skip to content
View policyd-weight's full-sized avatar

Block or report policyd-weight

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
policyd-weight/README.md

policyd-weight

Public repository of policyd-weight by Robert Felber

Status of the project: abandoned due to time constraints and health issues

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

Popular repositories Loading

  1. policyd-weight policyd-weight Public

    Official Repo of policyd-weight by Robert Felber

    Perl