Skip site navigation (1)Skip section navigation (2)
Date:      25 Mar 2003 14:14:33 -0000
From:      Sergei Kolobov <sergei@kolobov.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/50287: [NEW PORT] mail/qmail-autoresponder: Rate-limited autoresponder for qmail
Message-ID:  <20030325141433.2243.qmail@elf.chetwood.ru>

next in thread | raw e-mail | index | archive | help

>Number:         50287
>Category:       ports
>Synopsis:       [NEW PORT] mail/qmail-autoresponder: Rate-limited autoresponder for qmail
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 25 07:00:30 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Sergei Kolobov
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD elf.chetwood.ru 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sun Mar 16 04:38:45 MSK 2003
>Description:
Rate-limited autoresponder for qmail:
- Limits rate of automatic responses (defaults to a maximum of one
  message every hour).
- Will not respond to nearly every type of mailing list or bulk email.
- Will not respond to bounce messages or MAILER-DAEMON.
- Bounces looping messages.
- Can insert the original subject into the response.
- Can copy original message into response.
- Can use links in the rate-limiting data directory to limit inode usage
  to a single inode.
- Optional support for MySQL

Author:	Bruce Guenter <bruceg@em.ca>
WWW:	http://untroubled.org/qmail-autoresponder/

NOTE: requires devel/bglibs port (PRs ports/48900, 49962, 50276)
>How-To-Repeat:
>Fix:

--- qmail-autoresponder.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	qmail-autoresponder
#	qmail-autoresponder/Makefile
#	qmail-autoresponder/distinfo
#	qmail-autoresponder/pkg-descr
#	qmail-autoresponder/pkg-plist
#
echo c - qmail-autoresponder
mkdir -p qmail-autoresponder > /dev/null 2>&1
echo x - qmail-autoresponder/Makefile
sed 's/^X//' >qmail-autoresponder/Makefile << 'END-of-qmail-autoresponder/Makefile'
X# New ports collection makefile for:	qmail-autoresponder
X# Date created:		25 Mar 2003
X# Whom:			Sergei Kolobov <sergei@kolobov.com>
X#
X# $FreeBSD$
X#
X# Compile-time options:
X# WITH_MYSQL=yes	enable support for MySQL
X#
X
XPORTNAME=	qmail-autoresponder
XPORTVERSION=	0.96.1
XCATEGORIES=	mail
XMASTER_SITES=	http://untroubled.org/qmail-autoresponder/
X
XMAINTAINER=	sergei@kolobov.com
XCOMMENT=	Rate-limited autoresponder for qmail
X
XBUILD_DEPENDS=	${BGLIBS_ROOT}/include/iobuf/iobuf.h:${PORTSDIR}/devel/bglibs
X
XBGLIBS_ROOT?=	${LOCALBASE}
X
XPROGS=		qmail-autoresponder
XMAN1=		qmail-autoresponder.1
XDOCS=		NEWS README TODO procedure.txt
X
X.if defined(WITH_MYSQL)
XPROGS+=		qmail-autoresponder-mysql
XDOCS+=		schema.mysql
XPLIST_SUB+=	MYSQL=""
X.else
XPLIST_SUB+=	MYSQL="@comment "
X.endif
X
XALL_TARGET=	${PROGS}
X
Xpre-build:
X	${ECHO_CMD} "${BGLIBS_ROOT}/include"	> ${WRKSRC}/conf-bgincs
X	${ECHO_CMD} "${BGLIBS_ROOT}/lib"	> ${WRKSRC}/conf-bglibs
X	${ECHO_CMD} "${PREFIX}/bin"		> ${WRKSRC}/conf-bin
X	${ECHO_CMD} "${MANPREFIX}/man"		> ${WRKSRC}/conf-man
X	${ECHO_CMD} "${CC} ${CFLAGS}"		> ${WRKSRC}/conf-cc
X
Xdo-install:
X	cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PROGS} ${PREFIX}/bin
X	${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-qmail-autoresponder/Makefile
echo x - qmail-autoresponder/distinfo
sed 's/^X//' >qmail-autoresponder/distinfo << 'END-of-qmail-autoresponder/distinfo'
XMD5 (qmail-autoresponder-0.96.1.tar.gz) = e845b37ef3e2b85aa0ca51d1e54f661b
END-of-qmail-autoresponder/distinfo
echo x - qmail-autoresponder/pkg-descr
sed 's/^X//' >qmail-autoresponder/pkg-descr << 'END-of-qmail-autoresponder/pkg-descr'
XRate-limited autoresponder for qmail:
X- Limits rate of automatic responses (defaults to a maximum of one
X  message every hour).
X- Will not respond to nearly every type of mailing list or bulk email.
X- Will not respond to bounce messages or MAILER-DAEMON.
X- Bounces looping messages.
X- Can insert the original subject into the response.
X- Can copy original message into response.
X- Can use links in the rate-limiting data directory to limit inode usage
X  to a single inode.
X- Optional support for MySQL
X
XAuthor:	Bruce Guenter <bruceg@em.ca>
XWWW:	http://untroubled.org/qmail-autoresponder/
END-of-qmail-autoresponder/pkg-descr
echo x - qmail-autoresponder/pkg-plist
sed 's/^X//' >qmail-autoresponder/pkg-plist << 'END-of-qmail-autoresponder/pkg-plist'
Xbin/qmail-autoresponder
X%%MYSQL%%bin/qmail-autoresponder-mysql
X%%PORTDOCS%%%%DOCSDIR%%/NEWS
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/TODO
X%%PORTDOCS%%%%DOCSDIR%%/procedure.txt
X%%MYSQL%%%%PORTDOCS%%%%DOCSDIR%%/schema.mysql
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-qmail-autoresponder/pkg-plist
exit
--- qmail-autoresponder.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030325141433.2243.qmail>