import milter-checkrcpt
The milter-checkrcpt plugin can be used with the milter API of sendmail(8) to filter mails with invalid recipients. The validity of a recipient address is determined by querying another mail server over SMTP. ok ajacoutot@
This commit is contained in:
parent
eafc4b4ea9
commit
4a2c5ec38e
27
mail/milter-checkrcpt/Makefile
Normal file
27
mail/milter-checkrcpt/Makefile
Normal file
@ -0,0 +1,27 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2011/07/11 12:12:53 okan Exp $
|
||||
|
||||
COMMENT= sendmail milter plugin for recipient checking
|
||||
|
||||
DISTNAME= milter-checkrcpt-0.1
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://www.benzedrine.cx/
|
||||
|
||||
HOMEPAGE= http://www.benzedrine.cx/milter-checkrcpt.html
|
||||
|
||||
MAINTAINER= Okan Demirmen <okan@openbsd.org>
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
WANTLIB= c pthread milter
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/milter-checkrcpt ${PREFIX}/libexec
|
||||
${INSTALL_MAN} ${WRKSRC}/milter-checkrcpt.8 ${PREFIX}/man/man8
|
||||
|
||||
.include <bsd.port.mk>
|
5
mail/milter-checkrcpt/distinfo
Normal file
5
mail/milter-checkrcpt/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (milter-checkrcpt-0.1.tar.gz) = 58N/LpaeWWJ94hMoHKnDcQ==
|
||||
RMD160 (milter-checkrcpt-0.1.tar.gz) = +CCAyWSSuxJXyO40RWcZ2KQWUjI=
|
||||
SHA1 (milter-checkrcpt-0.1.tar.gz) = kg6JlBtcPCbBTJlTLTeX6RtbHVk=
|
||||
SHA256 (milter-checkrcpt-0.1.tar.gz) = EEG+lJ+bi4CbpR2GTq9jjg3QKujuS/7gSpR7FwucBxM=
|
||||
SIZE (milter-checkrcpt-0.1.tar.gz) = 7396
|
4
mail/milter-checkrcpt/pkg/DESCR
Normal file
4
mail/milter-checkrcpt/pkg/DESCR
Normal file
@ -0,0 +1,4 @@
|
||||
The milter-checkrcpt plugin can be used with the milter API of
|
||||
sendmail(8) to filter mails with invalid recipients. The validity of a
|
||||
recipient address is determined by querying another mail server over
|
||||
SMTP.
|
11
mail/milter-checkrcpt/pkg/PLIST
Normal file
11
mail/milter-checkrcpt/pkg/PLIST
Normal file
@ -0,0 +1,11 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/07/11 12:12:53 okan Exp $
|
||||
@newgroup _milter-checkrcpt:679
|
||||
@newuser _milter-checkrcpt:679:_milter-checkrcpt:daemon:milter-checkrcpt Account:/nonexistent:/sbin/nologin
|
||||
@extraunexec rm -rf /var/spool/milter-checkrcpt/*
|
||||
@bin libexec/milter-checkrcpt
|
||||
@man man/man8/milter-checkrcpt.8
|
||||
@rcscript ${RCDIR}/milter_checkrcpt
|
||||
@mode 700
|
||||
@owner _milter-checkrcpt
|
||||
@group _milter-checkrcpt
|
||||
@sample /var/spool/milter-checkrcpt/
|
11
mail/milter-checkrcpt/pkg/milter_checkrcpt.rc
Normal file
11
mail/milter-checkrcpt/pkg/milter_checkrcpt.rc
Normal file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $OpenBSD: milter_checkrcpt.rc,v 1.1.1.1 2011/07/11 12:12:53 okan Exp $
|
||||
|
||||
daemon="${TRUEPREFIX}/libexec/milter-checkrcpt"
|
||||
|
||||
. /etc/rc.d/rc.subr
|
||||
|
||||
rc_reload=NO
|
||||
|
||||
rc_cmd $1
|
Loading…
x
Reference in New Issue
Block a user