aboutsummaryrefslogtreecommitdiffstats
path: root/mail/renattach
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-06-23 02:52:39 +0800
committerpav <pav@FreeBSD.org>2004-06-23 02:52:39 +0800
commit23f76a68b4bda742608333ed72bbfb37f6b9b09d (patch)
tree711e899910902e5cf4243cb1f1e108eb023d8c0f /mail/renattach
parent839de075a2600121f593e1653e6c1e4833f5ab1f (diff)
downloadfreebsd-ports-gnome-23f76a68b4bda742608333ed72bbfb37f6b9b09d.tar.gz
freebsd-ports-gnome-23f76a68b4bda742608333ed72bbfb37f6b9b09d.tar.zst
freebsd-ports-gnome-23f76a68b4bda742608333ed72bbfb37f6b9b09d.zip
Add renattach, a mail filter to selectively rename or remove mail attachments
PR: ports/68144 Submitted by: Stefan A. Deutscher <sad@mailaps.org>
Diffstat (limited to 'mail/renattach')
-rw-r--r--mail/renattach/Makefile31
-rw-r--r--mail/renattach/distinfo2
-rw-r--r--mail/renattach/pkg-descr20
3 files changed, 53 insertions, 0 deletions
diff --git a/mail/renattach/Makefile b/mail/renattach/Makefile
new file mode 100644
index 000000000000..f9122698d764
--- /dev/null
+++ b/mail/renattach/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: renattach
+# Date created: 20 June 2004
+# Whom: Stefan A. Deutscher (sad@mailaps.org)
+#
+# $FreeBSD$
+#
+
+PORTNAME= renattach
+PORTVERSION= 1.2.1
+CATEGORIES= mail
+MASTER_SITES= http://www.pc-tools.net/files/unix/
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Rename or remove certain attachments or kill entire messages
+
+GNU_CONFIGURE= yes
+
+MAN1= renattach.1
+PLIST_FILES= bin/renattach etc/renattach.conf.ex
+PORTDOCS= INSTALL
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
+.endif
+ @${ECHO_MSG} "===================="
+ @${ECHO_MSG} "Check with ${DOCSDIR}/INSTALL"
+ @${ECHO_MSG} "After that you may need to adjust renattach.conf to your needs"
+
+.include <bsd.port.mk>
diff --git a/mail/renattach/distinfo b/mail/renattach/distinfo
new file mode 100644
index 000000000000..e7b60d877b54
--- /dev/null
+++ b/mail/renattach/distinfo
@@ -0,0 +1,2 @@
+MD5 (renattach-1.2.1.tar.gz) = bd6bbcb74d8a7f8a94655aa73c1ab5ce
+SIZE (renattach-1.2.1.tar.gz) = 117885
diff --git a/mail/renattach/pkg-descr b/mail/renattach/pkg-descr
new file mode 100644
index 000000000000..c7c2da56d934
--- /dev/null
+++ b/mail/renattach/pkg-descr
@@ -0,0 +1,20 @@
+renattach is a fast and efficient e-mail stream filter written by Jem
+Berkes. It can rename or delete potentially dangerous attachments or
+even eliminate entire messages to help sites deal with resource strains
+caused by virus floods. Unlike conventional virus scanners, there are no
+specific virus or worm definitions. Instead, attachments are classified
+based on file extension and executable encoded body content.
+
+Features
+- Fast, efficient, lightweight, little overhead, pure C code
+- Recognizes both MIME and uuencoded attachments
+- Compliant with RFC2047 and RFC2231, handles encoded filenames
+- Capable of reading filenames inside ZIP archives, on the fly
+- Can rename or delete attachments, or kill entire messages
+- Can detect executables that carry DOS/Windows signature
+- Supports list of banned filenames (great for handling floods)
+- Simple pipe/stream operation; can be used within many filtering systems
+- Can be used directly as a content_filter for Postfix MTA
+- Can be installed as a local delivery agent for Sendmail MTA
+
+WWW: http://www.pc-tools.net/unix/renattach/