summaryrefslogtreecommitdiff
path: root/mail/renattach
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-06-22 18:52:39 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-06-22 18:52:39 +0000
commit1ed15dd53089e56045ae11dc8def20e365cd0fa0 (patch)
tree64b652eda0ec87444a32161cca22465890e6b377 /mail/renattach
parent- Update to 0.73b (diff)
Add renattach, a mail filter to selectively rename or remove mail attachments
PR: ports/68144 Submitted by: Stefan A. Deutscher <sad@mailaps.org>
Notes
Notes: svn path=/head/; revision=111994
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/