From 06666b5ce4119f2d585582daa3111be0ec479017 Mon Sep 17 00:00:00 2001 From: xtraeme Date: Wed, 21 Jul 2004 03:55:57 +0000 Subject: Erm, the good name is "clamsmtp" not "clamsmtpd", sorry... --- mail/clamsmtpd/DESCR | 9 --------- mail/clamsmtpd/MESSAGE | 31 ------------------------------- mail/clamsmtpd/Makefile | 29 ----------------------------- mail/clamsmtpd/PLIST | 3 --- mail/clamsmtpd/distinfo | 4 ---- mail/clamsmtpd/files/clamsmtpd.sh | 24 ------------------------ 6 files changed, 100 deletions(-) delete mode 100644 mail/clamsmtpd/DESCR delete mode 100644 mail/clamsmtpd/MESSAGE delete mode 100644 mail/clamsmtpd/Makefile delete mode 100644 mail/clamsmtpd/PLIST delete mode 100644 mail/clamsmtpd/distinfo delete mode 100644 mail/clamsmtpd/files/clamsmtpd.sh (limited to 'mail') diff --git a/mail/clamsmtpd/DESCR b/mail/clamsmtpd/DESCR deleted file mode 100644 index 7de892e04bf..00000000000 --- a/mail/clamsmtpd/DESCR +++ /dev/null @@ -1,9 +0,0 @@ -ClamSMTP is an SMTP filter that allows you to check for viruses using -the ClamAV anti-virus software. It accepts SMTP connections and -forwards the SMTP commands and responses to another SMTP server. The -'DATA' email body is intercepted and scanned before forwarding. - -ClamSMTP aims to be lightweight, reliable, and simple rather than have -a myriad of options. It's written in C without major dependencies. -If you need more options then you could use something big like AMaViS -which is written in PERL and can do almost anything. diff --git a/mail/clamsmtpd/MESSAGE b/mail/clamsmtpd/MESSAGE deleted file mode 100644 index e994071a0f0..00000000000 --- a/mail/clamsmtpd/MESSAGE +++ /dev/null @@ -1,31 +0,0 @@ -=========================================================================== -$NetBSD: MESSAGE,v 1.1.1.1 2004/07/21 03:51:11 xtraeme Exp $ - -In order to use ${PKGBASE} with postfix, a possible configuration would -be: - -[main.cf] - -content_filter = scan:127.0.0.1:10025 -receive_override_options = no_address_mappings - -[master.cf] - -# AV scan filter (used by content_filter) -scan unix - - n - 16 smtp - -o smtp_send_xforward_command=yes -# For injecting mail back into postfix from the filter -127.0.0.1:10026 inet n - n - 16 smtpd - -o content_filter= - -o receive_override_options=no_unknown_recipient_checks - -o smtpd_helo_restrictions= - -o smtpd_client_restrictions= - -o smtpd_sender_restrictions= - -o smtpd_recipient_restrictions=permit_mynetworks,reject - -o mynetworks_style=host - -o smtpd_authorized_xforward_hosts=127.0.0.0/8 - -That's all! please visit ${HOMEPAGE} -if you need more information. - -=========================================================================== diff --git a/mail/clamsmtpd/Makefile b/mail/clamsmtpd/Makefile deleted file mode 100644 index eed74197ec8..00000000000 --- a/mail/clamsmtpd/Makefile +++ /dev/null @@ -1,29 +0,0 @@ -# $NetBSD: Makefile,v 1.1.1.1 2004/07/21 03:51:11 xtraeme Exp $ -# - -DISTNAME= clamsmtp-0.3 -CATEGORIES= mail -MASTER_SITES= http://memberwebs.com/nielsen/software/clamsmtp/ - -MAINTAINER= xtraeme@NetBSD.org -HOMEPAGE= http://memberwebs.com/nielsen/software/clamsmtp/ -COMMENT= SMTP filter that allows you to check for viruses - -BUILD_DEPENDS+= clamav-[0-9]*:../../mail/clamav - -USE_BUILDLINK3= yes -USE_PKGINSTALL= yes -GNU_CONFIGURE= yes - -RCD_SCRIPTS= clamsmtpd - -MESSAGE_SUBST+= PKGBASE=${PKGBASE} -MESSAGE_SUBST+= HOMEPAGE=${HOMEPAGE} - -.include "../../mk/bsd.prefs.mk" - -FILES_SUBST+= VARBASE=${VARBASE} -FILES_SUBST+= CLAMAV_USER=${CLAMAV_USER} - -.include "../../mk/pthread.buildlink3.mk" -.include "../../mk/bsd.pkg.mk" diff --git a/mail/clamsmtpd/PLIST b/mail/clamsmtpd/PLIST deleted file mode 100644 index a66f1301d9c..00000000000 --- a/mail/clamsmtpd/PLIST +++ /dev/null @@ -1,3 +0,0 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/21 03:51:11 xtraeme Exp $ -man/man8/clamsmtpd.8 -sbin/clamsmtpd diff --git a/mail/clamsmtpd/distinfo b/mail/clamsmtpd/distinfo deleted file mode 100644 index e97ab83117b..00000000000 --- a/mail/clamsmtpd/distinfo +++ /dev/null @@ -1,4 +0,0 @@ -$NetBSD: distinfo,v 1.1.1.1 2004/07/21 03:51:11 xtraeme Exp $ - -SHA1 (clamsmtp-0.3.tar.gz) = a91039425e6c8dea47ac8b77c153a90ad283a2cb -Size (clamsmtp-0.3.tar.gz) = 117723 bytes diff --git a/mail/clamsmtpd/files/clamsmtpd.sh b/mail/clamsmtpd/files/clamsmtpd.sh deleted file mode 100644 index 8ed8def06bf..00000000000 --- a/mail/clamsmtpd/files/clamsmtpd.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!@RCD_SCRIPTS_SHELL@ -# -# $NetBSD: clamsmtpd.sh,v 1.1.1.1 2004/07/21 03:51:11 xtraeme Exp $ -# -# PROVIDE: clamsmtpd -# REQUIRE: LOGIN clamd -# BEFORE: mail -# KEYWORD: shutdown - -if [ -f /etc/rc.subr ]; then - . /etc/rc.subr -fi - -name="clamsmtpd" -rcvar=$name -command="@PREFIX@/sbin/${name}" -pidfile="/tmp/${name}.pid" -clamsmtpd_user="@CLAMAV_USER@" -clamav_conf="@PKG_SYSCONFDIR@/clamav.conf" -socket=$(@AWK@ '/^#/ {next}; /LocalSocket/ {print $2}' ${clamav_conf}) -command_args="-c ${socket} -p ${pidfile} 127.0.0.1:10026" - -load_rc_config $name -run_rc_command "$1" -- cgit v1.2.3