<?xml version="1.0" encoding="utf-8" ?> <packagegui> <name>spamdsettings</name> <version>0.1.0</version> <include_file>/usr/local/pkg/spamd.inc</include_file> <title>SpamD Settings</title> <aftersaveredirect>pkg_edit.php?xml=spamd_settings.xml&id=0</aftersaveredirect> <!-- 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> <tab> <text>SpamD Outlook</text> <url>/pkg_edit.php?xml=spamd_outlook.xml&id=0</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> <value>450</value> <size>1</size> <options> <option><value></value><name></name></option> <option><value>450</value><name>450</name></option> <option><value>451</value><name>451</name></option> <option><value>550</value><name>550</name></option> </options> </field> <field> <fielddescr>NextMTA</fielddescr> <fieldname>nextmta</fieldname> <description>Automatically sends messages after being processed by SpamD to IP Address. 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_resync_config_command> sync_package_spamd(); </custom_php_resync_config_command> </packagegui>