You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.3 KiB
33 lines
1.3 KiB
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
# |
|
# Filename: package/.../dovecot-antispam/dovecot-antispam.conf |
|
# Copyright (C) 2008 - 2010 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 --- |
|
|
|
autogen=0 |
|
|
|
hook_add preconf 5 "autoreconf -ivs -I m4 -I $( pkgprefix -r datadir dovecot )/aclocal" |
|
|
|
# dovecot is mandantory |
|
pkgprefix -t dovecot |
|
|
|
# provide the path to 'dovecot-config' |
|
var_append extraconfopt ' ' "--with-dovecot=$( pkgprefix -r libdir 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 crm114-gerh; then |
|
var_append makeopt ' ' "BACKEND=crm114-exec" |
|
fi
|
|
|