The skem utility is a sendmail milter, that checks and maintains a list
of whitelisted, temporary banned, and permanently blacklisted
IP-addresses. How you obtain the entries is up to you, but the included
logwatcher module provides one possibility.
The list is stored in a directory, each entry being a file (usually --
zero sized) or a symlink (usually -- a "broken" one). Such entries are
stored efficiently (within the directory itself) and the directories are
searched using the hash tables on modern file systems. At the same time,
they can be listed, added, and removed with the simple ls(1), touch(1),
and rm(1).
This milter does not itself filter spam, instead it memorizes the
verdicts issued by your other anti-spam defenses to reduce the system
load and resource consumption, by temporarily rejecting the relays
suspected of spamming (banned) and, optionally, by permanently rejecting
the relays "convicted" of spamming (blacklisted).
The idea is to stem the spam from real spam sources, while reducing the
ill effects of false-positives to merely delaying, rather than rejecting
future messages.
===> The following configuration options are available for skem-1.0.2_4:
SKEM_NETINET=on: Support IPv4 addresses
SKEM_NETINET6=off: Support IPv6 addresses (not tested)
SKEM_NO_CLEANUP=off: Omit the auto-cleanup module
SKEM_NO_LOGWATCHER=off: Omit the log-watching module
===> Use 'make config' to modify these settings
The milter-skem port does not (yet?) provide the
milter-starting script(s).
Please, read the manual page (skem(8)) to determine,
what's best for your environment -- it can be configured
to be automaticly launched by syslogd(8), for example.
mail/milter-skem: disable date/time nonreproducible build warning
The base system build infrastructure will add -Wdate-time, to avoid
use of nonreproducible __DATE__ and __TIME__ in the base system.
This port makes use of the base system build infrastructure as well as
__DATE__ and/or __TIME__, so explicitly opt out of the warning.
PR: 267902 [exp-run]
Approved by: mi
Sponsored By: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D37507
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
mail: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <ashish@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Adam David <adam@FreeBSD.org>
* Adam McDougall <mcdouga9@egr.msu.edu>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alex Deiter <tiamat@komi.mts.ru>
* Alex Dupre <ale@FreeBSD.org>
* Alex Dupre <sysadmin@alexdupre.com>
* Alex Perel <veers@disturbed.net>
(Only the first 15 lines of the commit message are shown above )
- bump MILTER_SOVER to fix linking on FREEBSD-12
- bump PORTREVISION on ports using libmilter
- rename WITH_SENDMAIL_PORT to WITH_MILTER_PORT
- rename WITH_SENDMAIL_BASE to WITH_MILTER_BASE
- rename WITH_SENDMAIL_STATIC_MILTER to WITH_MILTER_STATIC
- cleanup ifdefs
- fix build on batv-filter with libmilter from ports
Upgrade my little milter from 1.0.1 to 1.0.2:
* pre-emptively fix compiler warnings from clang-3.8
* cleanup white-space
* remove obsolete option (FFR 421, which Sendmail decided not to support)
getopt() returns `int' according to the standard, but was assigned to `char'
variable, and this can break the == -1 check. It works on i386, but not on
PowerPC, where `char' is unsigned by default.
Use variable of correct type (int) to hold the return value of getopt(3).
Remove OSVERSION checks that do not make sense any more.
For example (${OSVERSION} >= 900000 && ${OSVERSION} < 900021) is always true,
as is (${OSVERSION} > 900002 || ${OSVERSION} < 900000 && ${OSVERSION} > 800107).
Regarding patches, when an EXTRA_PATCHES is no longer needed, I remove it, when
it is always needed, I renamed it, in one case, I merged two patches.
Differential Revision: https://reviews.freebsd.org/D2209
mail category: Remove $PTHREAD_LIBS
Note: The following ports did not pass check-plist (CP) or stage-qa (QA)
tests. The sendmail port has many problems, but this was already known
by myself as I fixed it properly on DPorts last week. It's a forward
action to submit a PR against mail/sendmail.
* antivirus-milter (CP)
* dk-milter (CP)
* milter-regex (CP)
* sendmail (CP, QA)
approved by: PTHREAD blanket
five milter ports: Add or improve support on systems missing sendmail
In some cases no-sendmail support was in place but missing CFLAGS or
LDFLAGS, but in others it needed to be added. Problems found as a result
of DragonFly removing sendmail from base.
Approved by: just fix it.
For the first time, add a port of my own piece of code...
This milter does not itself filter spam, instead it memorizes the
verdicts issued by your other anti-spam defenses to reduce the system
load and resource consumption, by temporarily rejecting the relays
suspected of spamming (banned) and, optionally, by permanently rejecting
the relays "convicted" of spamming (blacklisted).
The idea is to stem the spam from real spam sources, while reducing the
ill effects of false-positives to merely delaying, rather than rejecting
future messages.
WWW: http://virtual-estates.net/skem/