1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

- New port:

Mailrep - A program for reporting mail log information in sendmail and postfix.

A program for reporting mail log information. You can configure it to respond
to errors in various ways and you can specify RBLs that can be used for
blocking spam. The program can measure the number of messages sent for a
particular account and the number of messages that the server processes daily.

PR:		ports/95544
Submitted by:	Marcelo Araujo <araujo@bsdmail.org>
Reworked by:	jmelo
Approved by:	mnag (mentor)
This commit is contained in:
Jean Milanez Melo 2006-04-25 19:50:25 +00:00
parent b4cfed07da
commit ea234c75e7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=160460
5 changed files with 53 additions and 0 deletions

View File

@ -185,6 +185,7 @@
SUBDIR += mailgraph
SUBDIR += mailman
SUBDIR += mailmgr
SUBDIR += mailrep
SUBDIR += mailscanner
SUBDIR += mailscanner-devel
SUBDIR += mailscanner-mrtg

37
mail/mailrep/Makefile Normal file
View File

@ -0,0 +1,37 @@
# New ports collection makefile for: mailrep
# Date created: 2006-04-25
# Whom: Marcelo Araujo <araujo@bsdmail.org>
#
# $FreeBSD$
#
PORTNAME= mailrep
PORTVERSION= 1.0
CATEGORIES= mail sysutils
MASTER_SITES= http://cs.bon.matrix.com.br/araujo/pub/mailrep/
MAINTAINER= araujo@bsdmail.org
COMMENT= Program for reporting mail log information
NO_BUILD= yes
USE_PERL5= yes
PORTDOCS= *
.include <bsd.port.pre.mk>
do-install:
@${MKDIR} ${PREFIX}/etc/mailrep
${INSTALL_SCRIPT} ${WRKSRC}/mailrep.pl ${PREFIX}/sbin/
${INSTALL_DATA} ${WRKSRC}/mailrep.conf ${PREFIX}/etc/mailrep/mailrep.conf.sample
.if !exists(${PREFIX}/etc/mailrep/mailrep.conf)
${INSTALL_DATA} ${WRKSRC}/mailrep.conf ${PREFIX}/etc/mailrep/
.endif
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}
.endif
.include <bsd.port.post.mk>

3
mail/mailrep/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (mailrep-1.0.tar.gz) = 09c648d8ab18727b70f27c654d1da93d
SHA256 (mailrep-1.0.tar.gz) = 33036cd8f7b2bce45c8a522f7fccbc6c7ff263b59e8a40a99c64dd26992b0c0e
SIZE (mailrep-1.0.tar.gz) = 19968

8
mail/mailrep/pkg-descr Normal file
View File

@ -0,0 +1,8 @@
Mailrep - A program for reporting mail log information in sendmail and postfix.
A program for reporting mail log information. You can configure it to respond
to errors in various ways and you can specify RBLs that can be used for
blocking spam. The program can measure the number of messages sent for a
particular account and the number of messages that the server processes daily.
WWW: http://experience.bsdnetwork.org/

4
mail/mailrep/pkg-plist Normal file
View File

@ -0,0 +1,4 @@
@unexec if cmp -s %D/etc/mailrep/mailrep.conf %D/etc/mailrep/mailrep.conf.sample; then rm -f %D/etc/mailrep/mailrep.conf; fi
etc/mailrep/mailrep.conf.sample
sbin/mailrep.pl
@dirrm etc/mailrep