opensmtpd-filter-senderscore

SenderScore integration to the OpenSMTPD daemon

WWW CVSWeb GITHub
  1. Package version
    opensmtpd-filter-senderscore-0.1.2
  2. Maintainer
    Gilles Chehade

filter-senderscore is an opensmtpd filter that performs a DNS
lookup in the SenderScore registry to determine reputation of
an IP address and allow reputation-based blocking, junking or
delaying of sessions.

+-----------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-----------------------------------------------------------------------

To use filter-senderscore, you must declare it in smtpd.

Edit the /etc/mail/smtpd.conf file to declare the filter:

filter "senderscore" \
proc-exec "${PREFIX}/libexec/smtpd/filter-senderscore [...]"

The following options may be passed to filter-senderscore:

-blockBelow 10
block at banner sessions score below 10

-junkBelow 70
add X-Spam header to sessions below 70

-slowFactor 1000
delay by up to 1000 ms (proportionally to reputation) each reply

Then add the filter to each listener that should be filtered:

listen on socket filter "senderscore"
listen on all filter "senderscore"

  • lang/go