aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-01-03 11:43:55 +0800
committeredwin <edwin@FreeBSD.org>2003-01-03 11:43:55 +0800
commit2663941197914865f520247b281e1403decff0c6 (patch)
tree91e56080191e97aad5a7836326328edbb5a9ff03 /mail
parentcdc6c40654911537765f4c474d3acff3494aca6a (diff)
downloadfreebsd-ports-graphics-2663941197914865f520247b281e1403decff0c6.tar.gz
freebsd-ports-graphics-2663941197914865f520247b281e1403decff0c6.tar.zst
freebsd-ports-graphics-2663941197914865f520247b281e1403decff0c6.zip
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/Makefile1
-rw-r--r--mail/messagewall/Makefile52
-rw-r--r--mail/messagewall/distinfo1
-rw-r--r--mail/messagewall/pkg-comment1
-rw-r--r--mail/messagewall/pkg-descr12
-rw-r--r--mail/messagewall/pkg-message16
-rw-r--r--mail/messagewall/pkg-plist18
7 files changed, 101 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile
index 0b9319ef10a..3e37f2feb8a 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 00000000000..2ece6aa1bc0
--- /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 00000000000..74ae463a2f0
--- /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 00000000000..b656e64cc74
--- /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 00000000000..f9a6bb71033
--- /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 00000000000..0567056f416
--- /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 00000000000..92dd90485cd
--- /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