diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-01-03 03:43:55 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-01-03 03:43:55 +0000 |
commit | 8bd0f401c94abf976af0f0e6609b3a5cb85afe4f (patch) | |
tree | 76bbd16f9ff5e5817e8870a0815e707414eeff57 /mail | |
parent | Made net/firedns LOCALBASE aware. (diff) |
New Port mail/messagewall
SMTP Proxy with filtering
PR: ports/43331
Submitted by: opr <opr@bsdaemon.be>
Diffstat (limited to 'mail')
-rw-r--r-- | mail/Makefile | 1 | ||||
-rw-r--r-- | mail/messagewall/Makefile | 52 | ||||
-rw-r--r-- | mail/messagewall/distinfo | 1 | ||||
-rw-r--r-- | mail/messagewall/pkg-comment | 1 | ||||
-rw-r--r-- | mail/messagewall/pkg-descr | 12 | ||||
-rw-r--r-- | mail/messagewall/pkg-message | 16 | ||||
-rw-r--r-- | mail/messagewall/pkg-plist | 18 |
7 files changed, 101 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile index 0b9319ef10a3..3e37f2feb8a3 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -114,6 +114,7 @@ SUBDIR += mboxgrep SUBDIR += mbx2mbox SUBDIR += mess822 + SUBDIR += messagewall SUBDIR += metamail SUBDIR += mew SUBDIR += mew-emacs20 diff --git a/mail/messagewall/Makefile b/mail/messagewall/Makefile new file mode 100644 index 000000000000..2ece6aa1bc04 --- /dev/null +++ b/mail/messagewall/Makefile @@ -0,0 +1,52 @@ +# New ports collection makefile for: messagewall-1.0.6 +# Date created: 24 Sep 2002 +# Whom: Pieter Danhieux <opr@bsdaemon.be> +# +# $FreeBSD$ +# + +PORTNAME= messagewall +PORTVERSION= 1.0.6 +CATEGORIES= mail +MASTER_SITES= http://www.messagewall.org/download/ +DISTNAME= messagewall-${PORTVERSION} + +MAINTAINER= opr@bsdaemon.be + +BUILD_DEPENDS= ${LOCALBASE}/include/firestring.h:${PORTSDIR}/misc/firestring \ + ${LOCALBASE}/include/firedns.h:${PORTSDIR}/net/firedns + +MAN1= messagewall.1 messagewallctl.1 messagewallstats.1 +MAN5= messagewall.conf.5 messagewall_profiles.5 +CONF1= messagewall.conf + +WRKSRC= ${WRKDIR}/messagewall +GNU_CONFIGURE= yes +USE_REINPLACE= yes + +post-patch: + ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ + ${WRKSRC}/firemake.cflags \ + ${WRKSRC}/firemake.ldflags + +do-install: + @${CP} ${WRKSRC}/messagewall ${PREFIX}/bin + @${CP} ${WRKSRC}/messagewallctl ${PREFIX}/bin + @${CP} ${WRKSRC}/messagewallstats ${PREFIX}/bin + @${MKDIR} ${PREFIX}/etc/messagewall + @${CP} ${WRKSRC}/virus.patterns ${PREFIX}/etc/messagewall/ + @${CP} -r ${WRKSRC}/profiles ${PREFIX}/etc/messagewall/ +.for file in ${CONF1} + @${CP} ${WRKSRC}/conf/${file} ${PREFIX}/etc/${file}.sample +.endfor +.for file in ${MAN1} + @${CP} ${WRKSRC}/man/${file} ${PREFIX}/man/man1/ +.endfor +.for file in ${MAN5} + @${CP} ${WRKSRC}/man/${file} ${PREFIX}/man/man5/ +.endfor + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/mail/messagewall/distinfo b/mail/messagewall/distinfo new file mode 100644 index 000000000000..74ae463a2f02 --- /dev/null +++ b/mail/messagewall/distinfo @@ -0,0 +1 @@ +MD5 (messagewall-1.0.6.tar.gz) = 136cffcf0427c5620925a5793c92b5a6 diff --git a/mail/messagewall/pkg-comment b/mail/messagewall/pkg-comment new file mode 100644 index 000000000000..b656e64cc741 --- /dev/null +++ b/mail/messagewall/pkg-comment @@ -0,0 +1 @@ +Free SMTP PROXY with filtering diff --git a/mail/messagewall/pkg-descr b/mail/messagewall/pkg-descr new file mode 100644 index 000000000000..f9a6bb710335 --- /dev/null +++ b/mail/messagewall/pkg-descr @@ -0,0 +1,12 @@ +MessageWall is a free software SMTP proxy. It sits between the outside +world and your mail server and keeps out viruses, spam and mail relaying. +Unlike many existing ISP-level filtering solutions, it offers +customization of filtering features on a per-address basis. MessageWall +employs a scoring system that allows message rejection based on multiple +rules with different weigths, and header tagging when the message doesn't +reach the threshold. + +WWW: http://www.messagewall.org + +- Pieter +opr@bsdaemon.be diff --git a/mail/messagewall/pkg-message b/mail/messagewall/pkg-message new file mode 100644 index 000000000000..0567056f416c --- /dev/null +++ b/mail/messagewall/pkg-message @@ -0,0 +1,16 @@ +*************************************************************************** +Messagewall has been installed, now create the chroot environment: + mkdir /home/mwall + groupadd mwall + useradd -g mwall mwall + mkdir /home/mwall/pids + chown mwall:mwall /home/mwall/pids + mkdir /home/mwalla + groupadd mwalla + useradd -g mwalla mwalla + mkdir /home/mwalla/pids + chown mwalla:mwalla /home/mwalla/pids +copy the virus patterns into your enviroment + cp /usr/local/etc/messagewall/virus.patterns /home/mwall +and don't forget to edit your configfile! +*************************************************************************** diff --git a/mail/messagewall/pkg-plist b/mail/messagewall/pkg-plist new file mode 100644 index 000000000000..92dd90485cdd --- /dev/null +++ b/mail/messagewall/pkg-plist @@ -0,0 +1,18 @@ +bin/messagewall +bin/messagewallctl +bin/messagewallstats +etc/messagewall.conf.sample +etc/messagewall/virus.patterns +etc/messagewall/profiles/None +etc/messagewall/profiles/Medium Plus +etc/messagewall/profiles/Light +etc/messagewall/profiles/Relay +etc/messagewall/profiles/Warning +etc/messagewall/profiles/Medium +etc/messagewall/profiles/Reject +etc/messagewall/profiles/Strong +etc/messagewall/profiles/Light Plus +etc/messagewall/profiles/Strong Plus +etc/messagewall/profiles/Extreme +@dirrm etc/messagewall/profiles +@dirrm etc/messagewall |