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:
okan 2011-07-11 12:12:53 +00:00
parent eafc4b4ea9
commit 4a2c5ec38e
5 changed files with 58 additions and 0 deletions

View 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>

View 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

View 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.

View 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/

View 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