mail/smtp-vilter, a sendmail milter for email content scanning using
different backends (clamd, spamd, savse). ok naddy@, alek@
This commit is contained in:
parent
bce2473cd5
commit
93985f9733
30
mail/smtp-vilter/Makefile
Normal file
30
mail/smtp-vilter/Makefile
Normal file
@ -0,0 +1,30 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2004/11/17 11:00:01 mbalmer Exp $
|
||||
|
||||
COMMENT= "sendmail milter to scan messages for viruses and spam"
|
||||
|
||||
DISTNAME= smtp-vilter-1.1.8
|
||||
|
||||
CATEGORIES= mail
|
||||
|
||||
HOMEPAGE= http://www.etc.msys.ch/software/smtp-vilter/
|
||||
|
||||
MAINTAINER= Marc Balmer <mbalmer@openbsd.org>
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ftp://ftp.etc.msys.ch/pub/sources/smtp-vilter/
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples
|
||||
cp -r ${WRKSRC}/etc/smtp-vilter ${PREFIX}/share/examples/
|
||||
|
||||
.include <bsd.port.mk>
|
3
mail/smtp-vilter/distinfo
Normal file
3
mail/smtp-vilter/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (smtp-vilter-1.1.8.tgz) = 8ae028d6a2504a01e2b704796181e1c8
|
||||
RMD160 (smtp-vilter-1.1.8.tgz) = 2a6da8a1b768adcb9f3a998489707082993345a2
|
||||
SHA1 (smtp-vilter-1.1.8.tgz) = 7beff3bae09b528a3b27ea049adf481e52516d90
|
21
mail/smtp-vilter/patches/patch-Makefile
Normal file
21
mail/smtp-vilter/patches/patch-Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2004/11/17 11:00:01 mbalmer Exp $
|
||||
--- Makefile.orig Fri Nov 12 08:32:22 2004
|
||||
+++ Makefile Fri Nov 12 08:32:38 2004
|
||||
@@ -17,17 +17,6 @@ LPR= lpr -o sides=two-sided-short-edge
|
||||
|
||||
OS!=uname -s
|
||||
|
||||
-.if ${OS} == "OpenBSD"
|
||||
-.if !defined(WANT_LIBMILTER)
|
||||
-SUBDIR=
|
||||
-.END:
|
||||
- @echo "Compiling smtp-vilter requires sendmail with milter support."
|
||||
- @echo
|
||||
- @echo "Please set WANT_LIBMILTER=1 in /etc/mk.conf and recompile"
|
||||
- @echo "and reinstall sendmail before compiling smtp-vilter."
|
||||
-.endif
|
||||
-.endif
|
||||
-
|
||||
allclean: cleandir
|
||||
make -f Makefile.linux clean
|
||||
|
14
mail/smtp-vilter/patches/patch-bin_smtp-vilter_Makefile
Normal file
14
mail/smtp-vilter/patches/patch-bin_smtp-vilter_Makefile
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-bin_smtp-vilter_Makefile,v 1.1.1.1 2004/11/17 11:00:01 mbalmer Exp $
|
||||
--- bin/smtp-vilter/Makefile.orig Fri Nov 12 08:32:52 2004
|
||||
+++ bin/smtp-vilter/Makefile Fri Nov 12 08:33:10 2004
|
||||
@@ -26,10 +26,3 @@ LDADD+= -lldap_r -llber
|
||||
LDADD+= -lldap_r -llber
|
||||
.endif
|
||||
|
||||
-.if !defined(WANT_LIBMILTER)
|
||||
-PROG=
|
||||
-SRCS=
|
||||
-.END:
|
||||
- @echo "smtp-vilter requires a sendmail installation with milter support"
|
||||
-.endif
|
||||
-
|
27
mail/smtp-vilter/pkg/DESCR
Normal file
27
mail/smtp-vilter/pkg/DESCR
Normal file
@ -0,0 +1,27 @@
|
||||
smtp-vilter is a high performance content filter for sendmail
|
||||
to detect e-mail viruses and spam. smtp-vilter decides whether
|
||||
to pass, discard or simply mark an e-mail message based on the
|
||||
results of a content scan and user defined strategies.
|
||||
|
||||
smtp-vilter does not do the scanning by itself, it relies on
|
||||
third-party products like ClamAV, Symantec Antivirus or
|
||||
SpamAssassin for this purpose. smtp-vilter uses the milter API
|
||||
to communicate with sendmail and one or more backends to
|
||||
communicate with the actual virus or spam scanning engines.
|
||||
The backends can be chained to perform a series of checks on
|
||||
one message in one run.
|
||||
|
||||
The software is highly configurable and provides mechanisms
|
||||
for secure operation.
|
||||
|
||||
The backends included in the distribution provide support for
|
||||
the Clam AntiVirus Daemon (clamd), the Symantec Anti Virus
|
||||
Scan Engine (savse), and Spamassassins Daemon (spamd). The
|
||||
backends are realised as shared libraries that are loaded
|
||||
dynamically when smtp-vilter starts. All backends have their
|
||||
own configuration file.
|
||||
|
||||
smtp-vilter is documented in the following manpages:
|
||||
|
||||
smtp-vilter(8) Running the smtp-vilter
|
||||
smtp-vilter.conf(5) The smtp-vilter config file
|
14
mail/smtp-vilter/pkg/MESSAGE
Executable file
14
mail/smtp-vilter/pkg/MESSAGE
Executable file
@ -0,0 +1,14 @@
|
||||
smtp-vilter has been installed as ${PREFIX}/sbin/smtp-vilter.
|
||||
See smtp-vilter(8) for instructions on how to register the milter.
|
||||
|
||||
To start the milter automatically on startup, one can use:
|
||||
|
||||
/etc/rc.conf.local
|
||||
smtp-vilter=YES
|
||||
|
||||
/etc/rc.local
|
||||
if [ X"${smtp-vilter}" == X"YES" -a \
|
||||
-x ${PREFIX}/sbin/smtp-vilter ]; then
|
||||
echo -n ' smtp-vilter'
|
||||
${PREFIX}/sbin/smtp-vilter
|
||||
fi
|
7
mail/smtp-vilter/pkg/PFRAG.shared
Normal file
7
mail/smtp-vilter/pkg/PFRAG.shared
Normal file
@ -0,0 +1,7 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2004/11/17 11:00:01 mbalmer Exp $
|
||||
@lib lib/libvilter-attachment.so.5.0
|
||||
@lib lib/libvilter-clamd.so.5.0
|
||||
@comment @lib lib/libvilter-example.so.5.0
|
||||
@comment @lib lib/libvilter-nvcd.so.5.0
|
||||
@lib lib/libvilter-savse.so.5.0
|
||||
@lib lib/libvilter-spamd.so.5.0
|
41
mail/smtp-vilter/pkg/PLIST
Normal file
41
mail/smtp-vilter/pkg/PLIST
Normal file
@ -0,0 +1,41 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2004/11/17 11:00:01 mbalmer Exp $
|
||||
@newgroup _vilter:538
|
||||
@newuser _vilter:538:538:daemon:smtp-vilter:/nonexistent:/sbin/nologin
|
||||
@comment lib/libvilter-attachment.a
|
||||
@comment lib/libvilter-attachment_pic.a
|
||||
@comment lib/libvilter-clamd.a
|
||||
@comment lib/libvilter-clamd_pic.a
|
||||
@comment lib/libvilter-example.a
|
||||
@comment lib/libvilter-example_pic.a
|
||||
@comment lib/libvilter-nvcd.a
|
||||
@comment lib/libvilter-nvcd_pic.a
|
||||
@comment lib/libvilter-savse.a
|
||||
@comment lib/libvilter-savse_pic.a
|
||||
@comment lib/libvilter-spamd.a
|
||||
@comment lib/libvilter-spamd_pic.a
|
||||
@man man/cat5/smtp-vilter.conf.0
|
||||
@man man/cat8/smtp-vilter.0
|
||||
@man man/cat8/vilter-test.0
|
||||
share/examples/smtp-vilter/
|
||||
@sample ${SYSCONFDIR}/smtp-vilter/
|
||||
share/examples/smtp-vilter/attachment-notification
|
||||
@sample ${SYSCONFDIR}/smtp-vilter/attachment-notification
|
||||
share/examples/smtp-vilter/attachment.conf
|
||||
@sample ${SYSCONFDIR}/smtp-vilter/attachment.conf
|
||||
share/examples/smtp-vilter/clamd.conf
|
||||
@sample ${SYSCONFDIR}/smtp-vilter/clamd.conf
|
||||
share/examples/smtp-vilter/recipient-notification
|
||||
@sample ${SYSCONFDIR}/smtp-vilter/recipient-notification
|
||||
share/examples/smtp-vilter/savse.conf
|
||||
@sample ${SYSCONFDIR}/smtp-vilter/savse.conf
|
||||
share/examples/smtp-vilter/smtp-vilter.conf
|
||||
@sample ${SYSCONFDIR}/smtp-vilter/smtp-vilter.conf
|
||||
share/examples/smtp-vilter/spamd.conf
|
||||
@sample ${SYSCONFDIR}/smtp-vilter/spamd.conf
|
||||
sbin/smtp-vilter
|
||||
sbin/vilter-test
|
||||
%%SHARED%%
|
||||
@owner _vilter
|
||||
@group _vilter
|
||||
@sample /var/smtp-vilter
|
||||
@extraunexec rm -fr /var/smtp-vilter
|
Loading…
Reference in New Issue
Block a user