import dovecot-antispam-2.0, with feedback from sthen@ brad@

This commit is contained in:
avsm 2012-01-18 22:31:28 +00:00
parent 0b17af916d
commit 6b567af758
4 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1,38 @@
# $OpenBSD: Makefile,v 1.1.1.1 2012/01/18 22:31:28 avsm Exp $
SHARED_ONLY= Yes
COMMENT= anti-spam plugin for Dovecot
V_DOVECOT_FULL= 2.0.17
DISTNAME= dovecot-antispam-2.0
EXTRACT_SUFX= .tar.bz2
CATEGORIES= mail
MASTER_SITES= http://johannes.sipsolutions.net/download/dovecot-antispam/
HOMEPAGE= http://johannes.sipsolutions.net/Projects/dovecot-antispam
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= lib/dovecot/dovecot-lda lib/dovecot/dovecot-login \
lib/dovecot/dovecot-storage lib/dovecot/dovecot
LIB_DEPENDS= mail/dovecot=${V_DOVECOT_FULL}
USE_GMAKE= Yes
MAKE_ENV= DOVECOT=${LOCALBASE}/include/dovecot
MAKE_ENV+= INSTALLDIR=$(PREFIX)/lib/dovecot
pre-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/dovecot
post-install:
${INSTALL_DATA} ${WRKBUILD}/antispam.7 ${PREFIX}/man/man7/antispam.7
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (dovecot-antispam-2.0.tar.bz2) = FFR4mHWfvZPyuYMEUg3sxg==
RMD160 (dovecot-antispam-2.0.tar.bz2) = uIjnEO/1za9PabxfFiDA8zqicWQ=
SHA1 (dovecot-antispam-2.0.tar.bz2) = OmZO7P8FG333eyYjfLqZAGNC1/c=
SHA256 (dovecot-antispam-2.0.tar.bz2) = xe9speFLBLSUBJExBeCYFZ6W2cwoO6//9He91HR7lg8=
SIZE (dovecot-antispam-2.0.tar.bz2) = 28564

View File

@ -0,0 +1,7 @@
The Dovecot antispam plugin watches a defined spam folder (defaults
to "SPAM"). It works together with a spam system that classifies
each message as it is delivered. When the message is classified as
spam, it shall be delivered to the spam folder, otherwise via the
regular filtering file the user may have (maildrop, Sieve, etc).
Now the user has everything classified as spam in the special spam
folder, everything else where it should be sorted to.

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/01/18 22:31:28 avsm Exp $
lib/dovecot/lib90_antispam_plugin.so
@man man/man7/antispam.7