Skip site navigation (1)Skip section navigation (2)
Date:      3 Mar 2003 23:17:56 -0000
From:      Sergei Kolobov <sergei@kolobov.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/48902: [NEW PORT] mail/mailfront: Mail server network protocol front-ends
Message-ID:  <20030303231756.42263.qmail@outpost.globcon.net>

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

>Number:         48902
>Category:       ports
>Synopsis:       [NEW PORT] mail/mailfront: Mail server network protocol front-ends
>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:   Mon Mar 03 15:20:11 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Sergei Kolobov
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD outpost.globcon.net 4.7-STABLE FreeBSD 4.7-STABLE #0: Mon Oct 14 02:23:23 MSD 2002     sgk@outpost.globcon.net:/data/FreeBSD/obj/data/FreeBSD/src/sys/OUTPOST  i386
>Description:
This is mailfront, a package containing customizeable network front-ends
for mail servers.  It contains complete SMTP and POP3 front-ends as well
as an authentication module for IMAP.

Two SMTP back-ends are provided.  One delivers mail to qmail-queue,
mimicking most of the behavior of qmail-smtpd, with the addition of
support for SMTP AUTH.  The other rejects all SMTP commands if
$SMTPREJECT is set, and execs its command line otherwise (in order to
run the above program).


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

Requires devel/bglibs (submitted earlier).
>How-To-Repeat:
>Fix:
--- mailfront.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:
#
#	mailfront
#	mailfront/Makefile
#	mailfront/distinfo
#	mailfront/pkg-descr
#	mailfront/pkg-plist
#
echo c - mailfront
mkdir -p mailfront > /dev/null 2>&1
echo x - mailfront/Makefile
sed 's/^X//' >mailfront/Makefile << 'END-of-mailfront/Makefile'
X# New ports collection makefile for:	mailfront
X# Date created:		03 Mar 2003
X# Whom:			Sergei Kolobov <sergei@kolobov.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mailfront
XPORTVERSION=	0.81
XCATEGORIES=	mail
XMASTER_SITES=	http://untroubled.org/mailfront/
X
XMAINTAINER=	sergei@kolobov.com
XCOMMENT=	Mail server network protocol front-ends
X
XBUILD_DEPENDS=	${LOCALBASE}/include/cvm/module.h:${PORTSBASE}/devel/bglibs
X
XBGLIBS_ROOT?=	${LOCALBASE}
XQMAIL_ROOT?=	/var/qmail
X
XCFLAGS+=	-I${BGLIBS_ROOT}/include
XLDFLAGS+=	-L${BGLIBS_ROOT}/lib
X
XDOCS=		ANNOUNCEMENT NEWS README TODO *.html
X
Xpre-build:
X	${ECHO_CMD} ${PREFIX}/bin    > ${WRKSRC}/conf-bin
X	${ECHO_CMD} ${CC} ${CFLAGS}  > ${WRKSRC}/conf-cc
X	${ECHO_CMD} ${CC} ${LDFLAGS} > ${WRKSRC}/conf-ld
X	${ECHO_CMD} ${QMAIL_ROOT}    > ${WRKSRC}/conf-qmail
X
Xdo-install:
X	cd ${WRKSRC} && ./installer
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-mailfront/Makefile
echo x - mailfront/distinfo
sed 's/^X//' >mailfront/distinfo << 'END-of-mailfront/distinfo'
XMD5 (mailfront-0.81.tar.gz) = 5c4d9c51663feebf9fc3179167773259
END-of-mailfront/distinfo
echo x - mailfront/pkg-descr
sed 's/^X//' >mailfront/pkg-descr << 'END-of-mailfront/pkg-descr'
XThis is mailfront, a package containing customizeable network front-ends
Xfor mail servers.  It contains complete SMTP and POP3 front-ends as well
Xas an authentication module for IMAP.
X
XTwo SMTP back-ends are provided.  One delivers mail to qmail-queue,
Xmimicking most of the behavior of qmail-smtpd, with the addition of
Xsupport for SMTP AUTH.  The other rejects all SMTP commands if
X$SMTPREJECT is set, and execs its command line otherwise (in order to
Xrun the above program).
X
X
XAuthor:	Bruce Guenter <bruceg@em.ca>
XWWW:	http://untroubled.org/mailfront/
END-of-mailfront/pkg-descr
echo x - mailfront/pkg-plist
sed 's/^X//' >mailfront/pkg-plist << 'END-of-mailfront/pkg-plist'
Xbin/imapfront-auth
Xbin/pop3front-auth
Xbin/pop3front-maildir
Xbin/smtpfront-echo
Xbin/smtpfront-qmail
Xbin/smtpfront-reject
X%%PORTDOCS%%%%DOCSDIR%%/ANNOUNCEMENT
X%%PORTDOCS%%%%DOCSDIR%%/NEWS
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/TODO
X%%PORTDOCS%%%%DOCSDIR%%/cvm-sasl.html
X%%PORTDOCS%%%%DOCSDIR%%/imapfront.html
X%%PORTDOCS%%%%DOCSDIR%%/mailfront.html
X%%PORTDOCS%%%%DOCSDIR%%/mailrules.html
X%%PORTDOCS%%%%DOCSDIR%%/pop3front.html
X%%PORTDOCS%%%%DOCSDIR%%/qmail-backend.html
X%%PORTDOCS%%%%DOCSDIR%%/qmail-validate.html
X%%PORTDOCS%%%%DOCSDIR%%/smtpfront.html
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-mailfront/pkg-plist
exit
--- mailfront.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?20030303231756.42263.qmail>