diff --git a/mail/dovecot-antispam/dovecot-antispam.cache b/mail/dovecot-antispam/dovecot-antispam.cache new file mode 100644 index 000000000..aa821dafe --- /dev/null +++ b/mail/dovecot-antispam/dovecot-antispam.cache @@ -0,0 +1,21 @@ + +[TIMESTAMP] 1200959597 Tue Jan 22 01:53:17 2008 +[BUILDTIME] 0 (5) +[SIZE] 0.03 MB, 7 files + +[DEP] bash +[DEP] binutils +[DEP] bzip2 +[DEP] coreutils +[DEP] diffutils +[DEP] fhs +[DEP] findutils +[DEP] gawk +[DEP] gcc +[DEP] glibc +[DEP] grep +[DEP] linux-header +[DEP] make +[DEP] sed +[DEP] sysfiles +[DEP] tar diff --git a/mail/dovecot-antispam/dovecot-antispam.conf b/mail/dovecot-antispam/dovecot-antispam.conf new file mode 100644 index 000000000..4a2c0ff1c --- /dev/null +++ b/mail/dovecot-antispam/dovecot-antispam.conf @@ -0,0 +1,37 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../dovecot-antispam/dovecot-antispam.conf +# Copyright (C) 2008 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +# dovecot is mandantory +pkgprefix -t dovecot + +# just doing minimal config adjustments, because the rest is done via makeopt's +hook_add preconf 5 "sed -e 's,\(DOVECOT\=\).*,\1,' defconfig > .config" + +# we need to guide a bit where the dovecot headers are installed +var_append makeopt ' ' "DOVECOT=$root$( pkgprefix includedir dovecot )/dovecot" + +# backend (select exactly one) +# dspam-exec - direct dspam training by calling dspam executable +# signature-log - signature logging using dovecot's dict API +# mailtrain - send mail to special addresses for training +# crm114-exec - direct crm114 training by calling mailreaver.crm + +if pkginstalled crm114; then + var_append makeopt ' ' "BACKEND=crm114-exec" +fi + +# setting the right install directory +var_append makeopt ' ' "INSTALLDIR=$root$( pkgprefix libdir dovecot )/dovecot/imap" + +makeinstopt="$makeopt install" diff --git a/mail/dovecot-antispam/dovecot-antispam.desc b/mail/dovecot-antispam/dovecot-antispam.desc new file mode 100644 index 000000000..5defaaa29 --- /dev/null +++ b/mail/dovecot-antispam/dovecot-antispam.desc @@ -0,0 +1,42 @@ +[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] +[COPY] Filename: package/.../dovecot-antispam/dovecot-antispam.desc +[COPY] Copyright (C) 2008 The OpenSDE Project +[COPY] +[COPY] More information can be found in the files COPYING and README. +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; version 2 of the License. A copy of the +[COPY] GNU General Public License can be found in the file COPYING. +[COPY] --- SDE-COPYRIGHT-NOTE-END --- + +[I] An anti spam plugin for the dovecot IMAP server + +[T] The dovecot antispam plugin watches a defined spam folder (defaults to +[T] "SPAM"). Instead of moving mail into special folders or forwarding them +[T] to special mail addresses for retraining, the plugin offers two actions +[T] for the user: +[T] +[T] 1. moving mail out of the SPAM folder and +[T] 2. moving mail into the SPAM folder. +[T] +[T] The dovecot plugin watches these actions (and additionally prohibits +[T] APPENDs to the SPAM folder, more for technical reasons than others) and +[T] tells the spam classifier that it made an error and needs to reclassify +[T] the message (as spam/not spam depending on which way it was moved. + +[U] http://johannes.sipsolutions.net/Projects/dovecot-antispam + +[A] Johannes Berg +[M] Christian Wiese + +[C] extra/tool + +[L] GPL +[S] Beta +[V] 20071029 +[P] X -----5---9 800.000 + +[D] 111060308 dovecot-antispam-20071029.tar.bz2 http://dl.opensde.net/sources/dovecot-antispam/