mxallowd is a daemon for pf/pflog which implements a slightly improved nolisting mechanism. Basically your nameserver has to be configured to return two MX ip addresses of which one does not run a mail server on port 25 (the one with higher priority). Most spammers try to connect directly to the first mailserver -- mxallowd blocks that. You have to connect to the first one and then to the second one, direct connections do not work. Real mailservers (not spammers) have to try all MX ip addresses in order (sorted by priority) until they succeed in delivering the mail.
19 lines
589 B
Makefile
19 lines
589 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2008/08/10 15:48:45 mstapelberg Exp $
|
|
|
|
CATEGORIES=mail
|
|
DISTNAME=mxallowd-1.6
|
|
HOMEPAGE=http://michael.stapelberg.de/mxallowd
|
|
COMMENT=Anti-Spam-Daemon using pf/pflog
|
|
|
|
HAS_CONFIGURE=YES
|
|
USE_TOOLS+=gmake
|
|
CONFIGURE_ARGS+=--prefix=/usr/pkg
|
|
CONFIGURE_ARGS+=--sysconfdir=${PREFIX}/etc
|
|
CONFIGURE_ARGS+=--mandir=${PREFIX}/${PKGMANDIR:Q}
|
|
CONF_FILES=${PREFIX}/share/doc/mxallowd/samples/mxallowd.conf ${PKG_SYSCONFDIR}/mxallowd.conf
|
|
RCD_SCRIPTS+=mxallowd
|
|
|
|
MASTER_SITES=http://michael.stapelberg.de/mxallowd/
|
|
DISTFILES=mxallowd.1.6.tar.bz2
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|