Add renattach, a mail filter to selectively rename or remove mail attachments

PR:		ports/68144
Submitted by:	Stefan A. Deutscher <sad@mailaps.org>
This commit is contained in:
Pav Lucistnik 2004-06-22 18:52:39 +00:00
parent 53eabcc5a8
commit 1ed15dd530
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=111994
4 changed files with 54 additions and 0 deletions

View file

@ -353,6 +353,7 @@
SUBDIR += regm
SUBDIR += relay-ctrl
SUBDIR += relaydb
SUBDIR += renattach
SUBDIR += rftp
SUBDIR += ricochet
SUBDIR += ripmime

31
mail/renattach/Makefile Normal file
View file

@ -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>

2
mail/renattach/distinfo Normal file
View file

@ -0,0 +1,2 @@
MD5 (renattach-1.2.1.tar.gz) = bd6bbcb74d8a7f8a94655aa73c1ab5ce
SIZE (renattach-1.2.1.tar.gz) = 117885

20
mail/renattach/pkg-descr Normal file
View file

@ -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/