diff options
Diffstat (limited to 'config/spamd/spamd_settings.xml')
-rw-r--r-- | config/spamd/spamd_settings.xml | 192 |
1 files changed, 192 insertions, 0 deletions
diff --git a/config/spamd/spamd_settings.xml b/config/spamd/spamd_settings.xml new file mode 100644 index 00000000..95c343d1 --- /dev/null +++ b/config/spamd/spamd_settings.xml @@ -0,0 +1,192 @@ +<?xml version="1.0" encoding="utf-8" ?> +<!DOCTYPE packagegui SYSTEM "./schema/packages.dtd"> +<?xml-stylesheet type="text/xsl" href="./xsl/package.xsl"?> +<packagegui> + <copyright> + <![CDATA[ +/* $Id$ */ +/* ========================================================================== */ +/* + spamd_settings.xml + part of pfSense (http://www.pfSense.com) + Copyright (C) 2008 Scott Ullrich + All rights reserved. + */ +/* ========================================================================== */ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, + OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + */ +/* ========================================================================== */ + ]]> + </copyright> + <description>Describe your package here</description> + <requirements>Describe your package requirements here</requirements> + <faq>Currently there are no FAQ items provided.</faq> + <name>spamdsettings</name> + <version>0.1.0</version> + <title>SpamD Settings</title> + <aftersaveredirect>pkg_edit.php?xml=spamd_settings.xml&id=0</aftersaveredirect> + <include_file>/usr/local/pkg/spamd.inc</include_file> + <!-- Menu is where this packages menu will appear --> + <menu> + <name>SpamD</name> + <section>Services</section> + <configfile>spamd.xml</configfile> + </menu> + <service> + <name>spamd</name> + <rcfile>spamd.sh</rcfile> + </service> + <tabs> + <tab> + <text>SpamD External Sources</text> + <url>/pkg.php?xml=spamd.xml</url> + </tab> + <tab> + <text>SpamD Whitelist</text> + <url>/pkg.php?xml=spamd_whitelist.xml</url> + </tab> + <tab> + <text>SpamD Settings</text> + <url>/pkg_edit.php?xml=spamd_settings.xml&id=0</url> + <active/> + </tab> + <tab> + <text>SpamD Database</text> + <url>/spamd_db.php</url> + </tab> + </tabs> + <!-- configpath gets expanded out automatically and config items will be + stored in that location --> + <configpath>['installedpackages']['spamd']['config']</configpath> + <!-- fields gets invoked when the user adds or edits a item. the following items + will be parsed and rendered for the user as a gui with input, and selectboxes. --> + <fields> + <field> + <fielddescr>Identifier</fielddescr> + <fieldname>identifier</fieldname> + <description>The SMTP version banner that is reported upon initial connection.</description> + <type>input</type> + </field> + <field> + <fielddescr>Maximum blacklisted connections</fielddescr> + <fieldname>maxblack</fieldname> + <description>The maximum number of concurrent blacklisted connections to allow in greylisting mode. This value may not be greater than maxcon (see below). The default is maxcon - 100.</description> + <type>input</type> + </field> + <field> + <fielddescr>Max concurrent connections</fielddescr> + <fieldname>maxcon</fieldname> + <description>The maximum number of concurrent connections to allow. The default is 800.</description> + <type>input</type> + <value>800</value> + </field> + <field> + <fielddescr>Grey listing</fielddescr> + <fieldname>greylisting</fieldname> + <description>Connections from addresses not blacklisted on the black lists tab will be considered for greylisting. Such connections will not be stuttered at (though see the stutter secs option) or delayed, and will receive the pleasantly innocuous temporary failure. After passtime if the host returns it will be added to the white list.</description> + <type>checkbox</type> + <value>yes</value> + </field> + <field> + <fielddescr>Passtime</fielddescr> + <fieldname>passtime</fieldname> + <description>Adjust the three time parameters for greylisting. Passtime defaults to 25 (minutes). After passtime minutes if spamd sees a retried attempt to deliver mail for the same tuple, spamd will whitelist the connecting address by adding it as a whitelist entry.</description> + <type>input</type> + <size>30</size> + <value>25:4:864</value> + </field> + <field> + <fielddescr>Grey Expiration</fielddescr> + <fieldname>greyexp</fieldname> + <description>Adjust the three time parameters for greylisting. Grey expiration defaults to 4. SpamD removes connection entries from the database if delivery has not been retried within greyexp hours from the initial time a connection is seen.</description> + <type>input</type> + <size>30</size> + <value>25:4:864</value> + </field> + <field> + <fielddescr>White Exp</fielddescr> + <fieldname>whiteexp</fieldname> + <description>Adjust the three time parameters for greylisting. White expiration defaults to 864 (hours, approximately 36 days). SpamD removes whitelist entries from the database if no mail delivery activity has been seen from the whitelisted address within whiteexp hours from the initial time an address is whitelisted.</description> + <type>input</type> + <size>30</size> + <value>25:4:864</value> + </field> + <field> + <fielddescr>Stutter Secs</fielddescr> + <fieldname>stuttersecs</fieldname> + <description>Stutter at greylisted connections for the specified amount of seconds, after which the connection is not stuttered at. Defaults to 10.</description> + <type>input</type> + <value>10</value> + </field> + <field> + <fielddescr>Delay Secs</fielddescr> + <fieldname>delaysecs</fieldname> + <description>Delay each character sent to the client by the specified amount of seconds. Defaults to 1.</description> + <type>input</type> + <value>1</value> + </field> + <field> + <fielddescr>Window Size</fielddescr> + <fieldname>window</fieldname> + <description>Set the socket receive buffer to this many bytes, adjusting the window size.</description> + <type>input</type> + <value></value> + </field> + <!-- + <field> + <fielddescr>Reply SMTP error</fielddescr> + <fieldname>replysmtperror</fieldname> + <description>The SMTP error to return to the spammer, i.e. 450, 451, 550. This defaults to 450.</description> + <type>select</type> + <size>1</size> + <value>450</value> + <options> + <option><name></name><value></value></option> + <option><name>450</name><value>450</value></option> + <option><name>451</name><value>451</value></option> + <option><name>550</name><value>550</value></option> + </options> + </field> + --> + <field> + <fielddescr>NextMTA</fielddescr> + <fieldname>nextmta</fieldname> + <description>Automatically sends messages after being processed by SpamD to IP Address. You may enter an alias if you like, simply prepend $ to the alias name. example: $mailservers. Note, if you have postfix package installed enter 127.0.0.1 here.</description> + <type>input</type> + <value>1</value> + </field> + <field> + <fielddescr>Enable RRD graphing</fielddescr> + <fieldname>enablerrd</fieldname> + <description>Enables the graphing of SpamD connection and disconnection statistics.</description> + <type>checkbox</type> + <value></value> + </field> + </fields> + <custom_php_validation_command> + spamd_validate_input($_POST, &$input_errors); + </custom_php_validation_command> + <custom_php_resync_config_command> + sync_package_spamd(); + </custom_php_resync_config_command> +</packagegui>
\ No newline at end of file |