File/plugins/spam_controls/config_sample.php

Description

NaSMail Spam Controls Plugin -- Sample configuration Copyright (C) 2007 The NaSMail Project This file is part of NaSMail spam_controls plugin.

This plugin 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; either version 2 of the License, or (at your option) any later version.

This plugin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with plugin; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

  • version: $Id: config_sample.php 687 2007-09-03 08:53:52Z tokul $
Variables
string $spam_controls_command (line 37)

Sets commmand used to train antispam filters

Command must accept user, spam and ham arguments and read rfc822 message from stdin. Errors must be printed to stderr and not to stdout. If program prints errors only in standard output, plugin can't detect error in some PHP setups. Plugin automatically adds space between command and its arguments.

Plugin adds ham or spam argument to command. User argument is added only when it is not empty.

string $spam_controls_ham_arg (line 60)

Sets arguments used to train for ham (not spam) messages

If you use non-default configuration value, check trailing spaces. Plugin does not insert space after this argument and username argument is written after it.

string $spam_controls_spam_arg (line 70)

Sets arguments used to train for spam messages

If you use non-default configuration value, check trailing spaces. Plugin does not insert space after this argument and username argument is written after it.

string $spam_controls_user_arg (line 50)

Sets command argument used for username

Plugin adds current username after argument. If setting is empty, all users will share same bayes database. If training utility detects username from environment, it will detect webserver user.

If you use non-default configuration value, check trailing spaces. Plugin does not insert space between argument and username

Documentation generated on Sun, 22 Nov 2009 17:36:24 +0200 by phpDocumentor 1.4.3