policyd-weight - Perl policy daemon for the Postfix MTA

Distribution: Ubuntu 16.04 LTS (Xenial Xerus)
Repository: Ubuntu Universe amd64
Package name: policyd-weight
Package version:
Package release: 11
Package architecture: all
Package type: deb
Installed size: 170 B
Download size: 39.86 KB
Official Mirror: archive.ubuntu.com
policyd-weight is intended to eliminate forged envelope senders and HELOs (i.e. in bogus mails). It allows you to score DNSBLs (RBL/RHSBL), HELO, MAIL FROM and client IP addresses before any queuing is done. It allows you to REJECT messages which have a score higher than allowed, providing improved blocking of spam and virus mails. policyd-weight caches the most frequent client/sender combinations (SPAM as well as HAM) to reduce the number of DNS queries.



    Source package: policyd-weight

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install policyd-weight deb package:
      # sudo apt-get install policyd-weight


    • /etc/default/policyd-weight
    • /etc/init.d/policyd-weight
    • /usr/sbin/policyd-weight
    • /usr/share/doc/policyd-weight/README.Debian
    • /usr/share/doc/policyd-weight/changelog.Debian.gz
    • /usr/share/doc/policyd-weight/copyright
    • /usr/share/doc/policyd-weight/documentation.txt.gz
    • /usr/share/doc/policyd-weight/todo.txt
    • /usr/share/man/man5/policyd-weight.conf.5.gz
    • /usr/share/man/man8/policyd-weight.8.gz


    2015-12-01 - Werner Detter <werner@aloah-from-hell.de> policyd-weight ( unstable; urgency=low * debian/postrm + Fix command-with-path-in-maintainer-script * debian/init.d + Updated LSB header * debian/rules + Add dh_lintian * Add debian/source.lintian-overrides + override for debian-watch-may-check-gpg-signature as upstream does not provide cryptographic signature * Update to debhelper 9 * Updated 10_replace_net_dns_dn_expand.patch to use official replacement Net::DNS::DomainName::decode for Net::DNS::Packet::dn_expand * Add 13_fix_default_rhsbl_dnsbl_in_man5.patch which updates default dnsbls/rhsbls in man5 manpage * Add 14_ignore_rfc1918_a_records_config_option.patch which introduces new config config option $IGNORE_RFC1918_A. If enabled A records with RFC1918 addresses aren't treated as bogus addresses by policyd-weight and therefore bogus_mx_score is not added. Updated sample configuration and man5 manpage (Closes: #799314) * Add closing bug in previous changelog entry

    2015-01-07 - Werner Detter <werner@aloah-from-hell.de> policyd-weight ( unstable; urgency=low * Add 12_del_rhsbl.ahbl.org.patch which removes rhsbl.ahbl.org list due to service shutdown (Closes: #774772)

    2014-10-04 - Werner Detter <werner@aloah-from-hell.de> policyd-weight ( unstable; urgency=low * Add 11_fix_ipv6_socket_creation.patch which fixes socket creation if local dns ip address is IPv6 address (Closes: #763986) * Updated standard version to 3.9.6

    2014-06-28 - Werner Detter <werner@aloah-from-hell.de> policyd-weight ( unstable; urgency=low * Add 10_replace_net_dns_dn_expand.patch which replaces Net::DNS::Packet function dh_expand() with dh_expand_PP() (Closes: #752845) * Fixed description in 09_fix_net_dns_usage.patch

    2013-12-15 - Werner Detter <werner@aloah-from-hell.de> policyd-weight ( unstable; urgency=low * Correct 09_fix_net_dns_usage.patch logic

    2013-12-15 - Werner Detter <werner@aloah-from-hell.de> policyd-weight ( unstable; urgency=low * Updated standards version to 3.9.5 * debian/control added dependency on libio-socket-inet6-perl * debian/init.d removed internal api call /lib/init/vars.sh from init script * Add 09_fix_net_dns_usage.patch which fixes infinite loop when dns resolver is reachable only via IPv6 (Closes: #726670)

    2013-03-12 - Werner Detter <werner@aloah-from-hell.de> policyd-weight ( unstable; urgency=high * Add 08_del_dnsbl.njabl.org.patch which removes dnsbl.njabl.org list due to service shutdown on 2013-03-01 (Closes: #702838) * Bumped standard versions to 3.9.4

    2012-09-17 - Werner Detter <werner@aloah-from-hell.de> policyd-weight ( unstable; urgency=low * Add 07_del_rfc-ignorant.org.patch which removes rfc-ignorant.org lists due to service shut down on 2012-11-30

    2012-08-19 - Werner Detter <werner@aloah-from-hell.de> policyd-weight ( unstable; urgency=low * Updating standards version to 3.9.3 * Fixed 02_cacherejectmsg.patch (modify $CACHEREJECTMSG instead of $REJECTMSG), thanks to Marcel Meckel (Closes: #598844)

    2012-01-24 - Werner Detter <werner@aloah-from-hell.de> policyd-weight ( unstable; urgency=low * Add 05_fix_issuing_group.patch - use getgrgid() instead of getpwuid() for mapping the group id into group name. Thanks to Heiko Schlittermann (Closes: #641538) * Add 06_del_non_func_ipv6_dnsbl.patch which removes non-functional DNSBL rbl.ipv6-world.net * Add debian/default * Modified init script