aboutsummaryrefslogtreecommitdiffstats
path: root/config/mailscanner/mailscanner_report.xml
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2011-12-05 18:34:33 -0500
committerChris Buechler <cmb@pfsense.org>2011-12-05 18:34:33 -0500
commit52f047e65b4894433dffae9e68888cc84c239a3f (patch)
treec4743d8f086ad5941ecc64b171ad2cd9192c19c0 /config/mailscanner/mailscanner_report.xml
parentdfb077d418239472de81a572933c81f62e32de9e (diff)
downloadpfsense-packages-52f047e65b4894433dffae9e68888cc84c239a3f.tar.gz
pfsense-packages-52f047e65b4894433dffae9e68888cc84c239a3f.tar.bz2
pfsense-packages-52f047e65b4894433dffae9e68888cc84c239a3f.zip
move mailscanner into config where it should be
Diffstat (limited to 'config/mailscanner/mailscanner_report.xml')
-rw-r--r--config/mailscanner/mailscanner_report.xml413
1 files changed, 413 insertions, 0 deletions
diff --git a/config/mailscanner/mailscanner_report.xml b/config/mailscanner/mailscanner_report.xml
new file mode 100644
index 00000000..65f182fc
--- /dev/null
+++ b/config/mailscanner/mailscanner_report.xml
@@ -0,0 +1,413 @@
+<?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$ */
+/* ========================================================================== */
+/*
+ mailscanner_report.xml
+ part of the mailscaner package for pfSense
+ Copyright (C) 2011 Marcello Coutinho
+ 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>>msreport</name>
+ <version>1.1</version>
+ <title>Services: MailScanner</title>
+ <include_file>/usr/local/pkg/mailscanner.inc</include_file>
+<tabs>
+ <tab>
+ <text>General</text>
+ <url>/pkg_edit.php?xml=mailscanner.xml&amp;id=0</url>
+ </tab>
+ <tab>
+ <text>Attachments</text>
+ <url>/pkg_edit.php?xml=mailscanner_attachments.xml&amp;id=0</url>
+ </tab>
+ <tab>
+ <text>Antivirus</text>
+ <url>/pkg_edit.php?xml=mailscanner_antivirus.xml&amp;id=0</url>
+ </tab>
+ <tab>
+ <text>Content</text>
+ <url>/pkg_edit.php?xml=mailscanner_content.xml&amp;id=0</url>
+ </tab>
+ <tab>
+ <text>AntiSpam</text>
+ <url>/pkg_edit.php?xml=mailscanner_antispam.xml&amp;id=0</url>
+ </tab>
+ <tab>
+ <text>Alerts</text>
+ <url>/pkg_edit.php?xml=mailscanner_alerts.xml&amp;id=0</url>
+ </tab>
+ <tab>
+ <text>Reporting</text>
+ <url>/pkg_edit.php?xml=mailscanner_report.xml&amp;id=0</url>
+ <active/>
+ </tab>
+ <tab>
+ <text>XMLRPC Sync</text>
+ <url>/pkg_edit.php?xml=mailscanner_sync.xml&amp;id=0</url>
+ </tab>
+ <tab>
+ <text>About</text>
+ <url>/mailscanner_about.php</url>
+ </tab>
+</tabs>
+ <fields>
+ <field>
+ <name>Reports and Responses</name>
+ <type>listtopic</type>
+ </field>
+ <field>
+ <fielddescr>Reports</fielddescr>
+ <fieldname>features</fieldname>
+ <description>
+ <![CDATA[Select virus scanner tests to enable. Mailscanner default options are in (&nbsp;).]]>
+ </description>
+ <type>select</type>
+ <options>
+ <option><name>Quarantine Infections (no)</name><value>QuarantineInfections</value></option>
+ <option><name>Quarantine Silent Viruses (no)</name><value>QuarantineSilentViruses</value></option>
+ <option><name>Quarantine Modified Body (no)</name><value>QuarantineModifiedBody</value></option>
+ <option><name>Quarantine Whole Message (no)</name><value>QuarantineWholeMessage</value></option>
+ <option><name>Quarantine Whole Messages As Queue Files (no)</name><value>QuarantineWholeMessagesAsQueueFiles</value></option>
+ <option><name>Keep Spam And MCP Archive Clean (no)</name><value>KeepSpamAndMCPArchiveClean</value></option>
+ <option><name>Hide Incoming Work Dir (yes)</name><value>HideIncomingWorkDir</value></option>
+ <option><name>Include Scanner Name In Reports (yes)</name><value>IncludeScannerNameInReports</value></option>
+
+ </options>
+ <size>09</size>
+ <multiple/>
+ </field>
+ <field>
+ <name>Notifications to Sender</name>
+ <type>listtopic</type>
+ </field>
+
+ <field>
+ <fielddescr>Notificatios</fielddescr>
+ <fieldname>notification</fieldname>
+ <description>
+ <![CDATA[Select virus scanner tests to enable. Mailscanner default options are in (&nbsp;).]]>
+ </description>
+ <type>select</type>
+ <options>
+ <option><name>Notify Senders (no)</name><value>NotifySenders</value></option>
+ <option><name>Notify Senders of Viruses (no)</name><value>NotifySendersofVirusese</value></option>
+ <option><name>Notify Senders of Blocked Filenames or Filetypes (yes)</name><value>NotifySendersofBlockedFilenamesorFiletypes</value></option>
+ <option><name>Notify Senders of Blocked Size Attachments (no)</name><value>NotifySendersofBlockedSizeAttachments</value></option>
+ <option><name>Notify Senders of Blocked Content (yes)</name><value>NotifySendersofBlockedContent</value></option>
+ </options>
+ <size>06</size>
+ <multiple/>
+ </field>
+ <field>
+ <name>Notices to System Administrators</name>
+ <type>listtopic</type>
+ </field>
+ <field>
+ <fielddescr>System Notificatios</fielddescr>
+ <fieldname>system</fieldname>
+ <description>
+ <![CDATA[Select what to send to System Administrators. Mailscanner default options are in (&nbsp;).]]>
+ </description>
+ <type>select</type>
+ <options>
+ <option><name>Send Notices (no)</name><value>SendNotices</value></option>
+ <option><name>Notices Include Full Headers (yes)</name><value>NoticesIncludeFullHeaders</value></option>
+ <option><name>Hide Incoming Work Dir in Notices (no)</name><value>HideIncomingWorkDirinNotices</value></option>
+ </options>
+ <size>04</size>
+ <multiple/>
+ </field>
+ <field>
+ <fielddescr>Notice Signature</fielddescr>
+ <fieldname>notice_signature</fieldname>
+ <description><![CDATA[What signature to add to the bottom of the notices.<br>
+ To insert a line-break in there, use the sequence "\n".ssed to SpamAssassin, listing all the "spam-viruses" that were found as a comma-separated list.<br>
+ <strong>Default is -- \nMailScanner\nEmail Virus Scanner\nwww.mailscanner.info</strong>]]></description>
+ <type>input</type>
+ <size>30</size>
+ </field>
+ <field>
+ <fielddescr>Notice from</fielddescr>
+ <fieldname>notice_from</fieldname>
+ <description><![CDATA[The visible part of the email address used in the "From:" line of the notices. The <user@domain> part of the email address is set to the "Local Postmaster" setting.<br>
+ <strong>Default is MailScanner]]></description>
+ <type>input</type>
+ <size>20</size>
+ </field>
+ <field>
+ <fielddescr>Notice to</fielddescr>
+ <fieldname>notice_to</fieldname>
+ <description><![CDATA[Where to send the notices.<br>
+ <strong>Default is Postmaster]]></description>
+ <type>input</type>
+ <size>20</size>
+ </field>
+ <field>
+ <name>Message Reports</name>
+ <type>listtopic</type>
+ </field>
+ <field>
+ <fielddescr>Language</fielddescr>
+ <fieldname>language</fieldname>
+ <description>
+ <![CDATA[Select report language.]]>
+ </description>
+ <type>select</type>
+ <options>
+ <option><name>EN (Default)</name><value>en</value></option>
+ <option><name>CA</name><value>ca</value></option>
+ <option><name>CY+EN</name><value>cy+en</value></option>
+ <option><name>CZ</name><value>cz</value></option>
+ <option><name>DE</name><value>de</value></option>
+ <option><name>DK</name><value>dk</value></option>
+ <option><name>ES</name><value>es</value></option>
+ <option><name>FR</name><value>fr</value></option>
+ <option><name>HU</name><value>hu</value></option>
+ <option><name>IT</name><value>it</value></option>
+ <option><name>NL</name><value>nl</value></option>
+ <option><name>PT_BR</name><value>pt_br</value></option>
+ <option><name>RO</name><value>ro</value></option>
+ <option><name>SE</name><value>se</value></option>
+ <option><name>SK</name><value>sk</value></option>
+ </options>
+ </field>
+ <field>
+ <fielddescr>Deleted Bad Content</fielddescr>
+ <fieldname>deletedbadcontent</fieldname>
+ <description><![CDATA[Edit deleted.content.message.txt file here.<br>Leave this field blank to load sample file.]]></description>
+ <type>textarea</type>
+ <cols>90</cols>
+ <rows>15</rows>
+ <encoding>base64</encoding>
+ </field>
+ <field>
+ <fielddescr>Deleted Bad Filename</fielddescr>
+ <fieldname>deletedbadfilename</fieldname>
+ <description><![CDATA[Edit deleted.filename.message.txt file here.<br>Leave this field blank to load sample file.]]></description>
+ <type>textarea</type>
+ <cols>90</cols>
+ <rows>15</rows>
+ <encoding>base64</encoding>
+ </field>
+ <field>
+ <fielddescr>Deleted Virus</fielddescr>
+ <fieldname>deletedvirus</fieldname>
+ <description><![CDATA[Edit deleted.virus.message.txt file here.<br>Leave this field blank to load sample file.]]></description>
+ <type>textarea</type>
+ <cols>90</cols>
+ <rows>15</rows>
+ <encoding>base64</encoding>
+ </field>
+ <field>
+ <fielddescr>Deleted Size</fielddescr>
+ <fieldname>deletedsize</fieldname>
+ <description><![CDATA[Edit deleted.size.message.txt file here.<br>Leave this field blank to load sample file.]]></description>
+ <type>textarea</type>
+ <cols>90</cols>
+ <rows>15</rows>
+ <encoding>base64</encoding>
+ </field>
+ <field>
+ <fielddescr>Stored Bad Content</fielddescr>
+ <fieldname>storedbadcontent</fieldname>
+ <description><![CDATA[Edit stored.content.message.txt file here.<br>Leave this field blank to load sample file.]]></description>
+ <type>textarea</type>
+ <cols>90</cols>
+ <rows>15</rows>
+ <encoding>base64</encoding>
+ </field>
+ <field>
+ <fielddescr>Stored Bad Filename</fielddescr>
+ <fieldname>storedbadfilename</fieldname>
+ <description><![CDATA[Edit stored.filename.message.txt file here.<br>Leave this field blank to load sample file.]]></description>
+ <type>textarea</type>
+ <cols>90</cols>
+ <rows>15</rows>
+ <encoding>base64</encoding>
+ </field>
+ <field>
+ <fielddescr>Stored Virus</fielddescr>
+ <fieldname>storedvirus</fieldname>
+ <description><![CDATA[Edit stored.virus.message.txt file here.<br>Leave this field blank to load sample file.]]></description>
+ <type>textarea</type>
+ <cols>90</cols>
+ <rows>15</rows>
+ <encoding>base64</encoding>
+ </field>
+ <field>
+ <fielddescr>Disinfected Report</fielddescr>
+ <fieldname>disinfected</fieldname>
+ <description><![CDATA[Edit stored.size.message.txt file here.<br>Leave this field blank to load sample file.]]></description>
+ <type>textarea</type>
+ <cols>90</cols>
+ <rows>15</rows>
+ <encoding>base64</encoding>
+ </field>
+ <field>
+ <fielddescr>Stored Size</fielddescr>
+ <fieldname>storedsize</fieldname>
+ <description><![CDATA[Edit disinfected.report.txt file here.<br>Leave this field blank to load sample file.]]></description>
+ <type>textarea</type>
+ <cols>90</cols>
+ <rows>15</rows>
+ <encoding>base64</encoding>
+ </field>
+ <field>
+ <fielddescr>Sender content</fielddescr>
+ <fieldname>sendercontent</fieldname>
+ <description><![CDATA[Edit sender.content.message.txt file here.<br>Leave this field blank to load sample file.]]></description>
+ <type>textarea</type>
+ <cols>90</cols>
+ <rows>15</rows>
+ <encoding>base64</encoding>
+ </field>
+ <field>
+ <fielddescr>Sender Error</fielddescr>
+ <fieldname>sendererror</fieldname>
+ <description><![CDATA[Edit sender.error.report.txt file here.<br>Leave this field blank to load sample file.]]></description>
+ <type>textarea</type>
+ <cols>90</cols>
+ <rows>15</rows>
+ <encoding>base64</encoding>
+ </field>
+ <field>
+ <fielddescr>Sender Bad Filename</fielddescr>
+ <fieldname>senderbadfilename</fieldname>
+ <description><![CDATA[Edit sender.filename.report.txt file here.<br>Leave this field blank to load sample file.]]></description>
+ <type>textarea</type>
+ <cols>90</cols>
+ <rows>15</rows>
+ <encoding>base64</encoding>
+ </field>
+ <field>
+ <fielddescr>Sender Virus Report</fielddescr>
+ <fieldname>sendervirus</fieldname>
+ <description><![CDATA[Edit sender.virus.report.txt file here.<br>Leave this field blank to load sample file.]]></description>
+ <type>textarea</type>
+ <cols>90</cols>
+ <rows>15</rows>
+ <encoding>base64</encoding>
+ </field>
+ <field>
+ <fielddescr>Sender Size Report</fielddescr>
+ <fieldname>sendersize</fieldname>
+ <description><![CDATA[Edit sender.size.report.txt file here.<br>Leave this field blank to load sample file.]]></description>
+ <type>textarea</type>
+ <cols>90</cols>
+ <rows>15</rows>
+ <encoding>base64</encoding>
+ </field>
+ <field>
+ <fielddescr>Sender Spam report</fielddescr>
+ <fieldname>senderspam</fieldname>
+ <description><![CDATA[Edit sender.spam.report.txt file here.<br>Leave this field blank to load sample file.]]></description>
+ <type>textarea</type>
+ <cols>90</cols>
+ <rows>15</rows>
+ <encoding>base64</encoding>
+ </field>
+ <field>
+ <fielddescr>Sender SPam RBL report</fielddescr>
+ <fieldname>senderrbl</fieldname>
+ <description><![CDATA[Edit sender.spam.rbl.report.txt file here.<br>Leave this field blank to load sample file.]]></description>
+ <type>textarea</type>
+ <cols>90</cols>
+ <rows>15</rows>
+ <encoding>base64</encoding>
+ </field>
+ <field>
+ <fielddescr>Sender Spam SA report</fielddescr>
+ <fieldname>sendersa</fieldname>
+ <description><![CDATA[Edit sender.spam.sa.report.txt file here.<br>Leave this field blank to load sample file.]]></description>
+ <type>textarea</type>
+ <cols>90</cols>
+ <rows>15</rows>
+ <encoding>base64</encoding>
+ </field>
+ <field>
+ <fielddescr>Sender Spam MCP report</fielddescr>
+ <fieldname>sendermcp</fieldname>
+ <description><![CDATA[Edit sender.mcp.report.txt file here.<br>Leave this field blank to load sample file.]]></description>
+ <type>textarea</type>
+ <cols>90</cols>
+ <rows>15</rows>
+ <encoding>base64</encoding>
+ </field>
+
+ <field>
+ <fielddescr>Recipients Spam report</fielddescr>
+ <fieldname>recipientspam</fieldname>
+ <description><![CDATA[Edit recipient.spam.report.txt file here.<br>Leave this field blank to load sample file.]]></description>
+ <type>textarea</type>
+ <cols>90</cols>
+ <rows>15</rows>
+ <encoding>base64</encoding>
+ </field>
+ <field>
+ <fielddescr>Recipients MCP report</fielddescr>
+ <fieldname>recipientmcp</fieldname>
+ <description><![CDATA[Edit recipient.mcp.report.txt file here.<br>Leave this field blank to load sample file.]]></description>
+ <type>textarea</type>
+ <cols>90</cols>
+ <rows>15</rows>
+ <encoding>base64</encoding>
+ </field>
+ <field>
+ <fielddescr>Rejection Report</fielddescr>
+ <fieldname>rejection</fieldname>
+ <description><![CDATA[Edit rejection.report.txt file here.<br>Leave this field blank to load sample file.]]></description>
+ <type>textarea</type>
+ <cols>90</cols>
+ <rows>15</rows>
+ <encoding>base64</encoding>
+ </field>
+
+
+ </fields>
+ <custom_php_install_command>
+ mailscanner_php_install_command();
+ </custom_php_install_command>
+ <custom_php_deinstall_command>
+ mailscanner_php_deinstall_command();
+ </custom_php_deinstall_command>
+ <custom_php_validation_command>
+ mailscanner_validate_input($_POST, &amp;$input_errors);
+ </custom_php_validation_command>
+ <custom_php_resync_config_command>
+ sync_package_mailscanner();
+ </custom_php_resync_config_command>
+</packagegui>