FreeBSD Bugzilla – Attachment 75416 Details for
Bug 108942
[NEW PORT] mail/qmail-auditor: Selective e-mail auditing for qmail by means of qmail-queue wrapping
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
qmail-auditor-0.47.shar
qmail-auditor-0.47.shar (text/plain), 3.75 KB, created by
eksffa
on 2007-02-08 19:40:14 UTC
(
hide
)
Description:
qmail-auditor-0.47.shar
Filename:
MIME Type:
Creator:
eksffa
Created:
2007-02-08 19:40:14 UTC
Size:
3.75 KB
patch
obsolete
># 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-auditor ># qmail-auditor/pkg-descr ># qmail-auditor/Makefile ># qmail-auditor/distinfo ># qmail-auditor/files ># qmail-auditor/files/pkg-message.in ># >echo c - qmail-auditor >mkdir -p qmail-auditor > /dev/null 2>&1 >echo x - qmail-auditor/pkg-descr >sed 's/^X//' >qmail-auditor/pkg-descr << 'END-of-qmail-auditor/pkg-descr' >XThis software provides an easy and functional way to audit incoming and >Xoutgoing e-mails from a qmail server. It works by means of qmail-queue >Xwrapping. It has a control file which allows selective auditing of sender or >Xrecipient, as well as whom the messages should be forwarded to. This control >Xfile allows regular expressions, what increases its flexibility of use. >X >XWWW: http://qmail-auditor.sourceforge.net/ >END-of-qmail-auditor/pkg-descr >echo x - qmail-auditor/Makefile >sed 's/^X//' >qmail-auditor/Makefile << 'END-of-qmail-auditor/Makefile' >X# New ports collection makefile for: qmail-auditor >X# Date created: 2007-02-08 >X# Whom: Patrick Tracanelli <eksffa@freebsdbrasil.com.br> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= qmail-auditor >XPORTVERSION= 0.47 >XCATEGORIES= mail >XMASTER_SITES= SF http://www6.freebsdbrasil.com.br/~eksffa/l/qmail-auditor/ >X >XMAINTAINER= eksffa@freebsdbrasil.com.br >XCOMMENT= Selective e-mail auditing for qmail by means of qmail-queue wrapping >X >XWRKSRC= ${WRKDIR}/${PORTNAME:R} >X >XUSE_QMAIL_RUN= yes >XGNU_CONFIGURE= yes >XCONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} >X >XSUB_FILES= pkg-message >XSUB_LIST= QMAIL_PREFIX=${QMAIL_PREFIX} >X >XPLIST_FILES= bin/qmail-auditor >X >XPORTDOCS= README >X >XINSTALL_TARGET= perm >X >X.include <bsd.port.pre.mk> >X >Xpost-patch: >X @${REINPLACE_CMD} -e 's|/usr/local|@prefix@|g' \ >X ${WRKSRC}/src/Makefile.in >X >X.if !defined(NOPORTDOCS) >X @${MKDIR} ${DOCSDIR} >X @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} >X.endif >X >Xpost-install: >X @${CAT} ${PKGMESSAGE} >X >X.include <bsd.port.post.mk> >END-of-qmail-auditor/Makefile >echo x - qmail-auditor/distinfo >sed 's/^X//' >qmail-auditor/distinfo << 'END-of-qmail-auditor/distinfo' >XMD5 (qmail-auditor-0.47.tar.gz) = 8da4a8408bb26c6d77f58ee5230f8b06 >XSHA256 (qmail-auditor-0.47.tar.gz) = 8736c388bfc33277808aeddd6f37e173e9002ac65b314e4490fe99b28b2a9c46 >XSIZE (qmail-auditor-0.47.tar.gz) = 220609 >END-of-qmail-auditor/distinfo >echo c - qmail-auditor/files >mkdir -p qmail-auditor/files > /dev/null 2>&1 >echo x - qmail-auditor/files/pkg-message.in >sed 's/^X//' >qmail-auditor/files/pkg-message.in << 'END-of-qmail-auditor/files/pkg-message.in' >XYou have just installed %%PREFIX%%/bin/qmail-auditor >Xwhich can be enabled by wrapping qmail-queue and naming the original qmail-queue >Xas qmail-queue-real, for example: >X >X mv %%QMAIL_PREFIX%%/bin/qmail-queue %%QMAIL_PREFIX%%/bin/qmail-queue-real-auditor >X ln -s %%PREFIX%%/bin/qmail-auditor %%QMAIL_PREFIX%%/bin/qmail-queue >X >XNow you can configure qmail-auditor, its control file is >X >X %%QMAIL_PREFIX%%/control/auditor >X >XThis file's format must be in the form: >X >X <field header> <regular expression> <e-mail to forward> >X >XWhere >X <field header> = from|to|all >X <regular expression> = sender or recipient e-mail address (according >X to <field header>), re_format(7) compatible >X <e-mail to forward> = whom qmail-auditor will copy audited messages to >X >XYou can have multiple rules (one per line). Working example of control file: >X >Xfrom *@some.domain.br auditing@mycompany.com >Xto user@some.domain.br auditing@mycompany.com >Xall sales@domain.br salesauditing@mycompany.com >X >XThe README file was installed on %%DOCSDIR%% >END-of-qmail-auditor/files/pkg-message.in >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 108942
: 75416