mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +00:00
New Port mail/messagewall
SMTP Proxy with filtering PR: ports/43331 Submitted by: opr <opr@bsdaemon.be>
This commit is contained in:
parent
c7f775ef0d
commit
8bd0f401c9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=72327
@ -114,6 +114,7 @@
|
||||
SUBDIR += mboxgrep
|
||||
SUBDIR += mbx2mbox
|
||||
SUBDIR += mess822
|
||||
SUBDIR += messagewall
|
||||
SUBDIR += metamail
|
||||
SUBDIR += mew
|
||||
SUBDIR += mew-emacs20
|
||||
|
52
mail/messagewall/Makefile
Normal file
52
mail/messagewall/Makefile
Normal file
@ -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>
|
1
mail/messagewall/distinfo
Normal file
1
mail/messagewall/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (messagewall-1.0.6.tar.gz) = 136cffcf0427c5620925a5793c92b5a6
|
1
mail/messagewall/pkg-comment
Normal file
1
mail/messagewall/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Free SMTP PROXY with filtering
|
12
mail/messagewall/pkg-descr
Normal file
12
mail/messagewall/pkg-descr
Normal file
@ -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
|
16
mail/messagewall/pkg-message
Normal file
16
mail/messagewall/pkg-message
Normal file
@ -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!
|
||||
***************************************************************************
|
18
mail/messagewall/pkg-plist
Normal file
18
mail/messagewall/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user