This appendix includes metadata file of the SpamExperts Incoming Email Security Firewall application package. The following metadata contains comments with references to specific steps in Packaging SpamExperts Incoming Email Security Firewall Application.
<!-- Application namespaces and APS version (step 9) -->
<application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://apstandard.com/ns/1" version="1.2">
<!-- Application common properties (step 1) -->
<id>spamexperts-psf</id>
<name>Professional Spam Filter</name>
<version>2</version>
<release>186</release>
<homepage>http://www.spamexperts.com/</homepage>
<vendor>
<name>SpamExperts B.V.</name>
<homepage>http://www.spamexperts.com/</homepage>
<icon path="images/prospamfilter2.png"/>
</vendor>
<packager>
<name>SpamExperts B.V.</name>
<homepage>http://www.spamexperts.com/</homepage>
<uri>uuid:7d652dbc-f2e9-463a-a658-b8a8369112ad</uri>
</packager>
<!-- Presentation details and settings (step 6) -->
<presentation>
<summary>The addon automatically adds new domains to the Incoming Email Security Firewall from SpamExperts, changes the MX records and offers the enduser a one-click login option. Usage of this addon requires the SpamExperts Incoming Email Security Firewall.</summary>
<description>Server-side anti-spam filter for all users of your domain; Proven, trusted, and secure; Best price/ quality anti-spam gateway on the market; Over 99.99% filtering accuracy; Easy to implement; Fully managed service; Friendly multilevel support with 24/7/365 monitoring; No email ever gets lost</description>
<icon path="images/prospamfilter2.png"/>
<screenshot path="images/screenshot.png">
<description>Main application view</description>
</screenshot>
<changelog>
<version version="1.0" release="174">
<entry>Package revision 1.0, release 174, built at 05-01-2011 09:08</entry>
</version>
<!-- Yes, we should add a "real" changelog here -->
</changelog>
<categories>
<category>Collaboration/Email</category>
</categories>
<languages>
<language>en</language>
</languages>
</presentation>
<global-settings>
<group class="authn">
<name>SpamPanel Settings</name>
<setting id="spampanel_url" class="access_point" type="string" default-value="" regex="^https?://.*$">
<name>Spampanel URL</name>
<description>
This is an URL in format 'http://www.spampanel.com/' showing where spampanel is installed. Unless you use a custom CNAME, this is the primary hostname of your first server.
</description>
<error-message>Please make sure the text you entered starts with either http:// or https://.</error-message>
</setting>
</group>
<group>
<name>API Settings</name>
<setting id="apihost" class="title" type="string" default-value="" min-length="1">
<name>API hostname</name>
<description>
This is DNS name or IP address of SpamExperts product installation, used for API access.
</description>
</setting>
<setting id="apiuser" class="title" type="string" default-value="admin" min-length="1">
<name>API username</name>
<error-message>
Please make sure the text you entered starts with a letter and continues with either numbers, letters, underscores or hyphens.
</error-message>
</setting>
<setting id="apipass" class="title" type="password" default-value="" min-length="1">
<name>API password</name>
</setting>
<setting id="ssl_enabled" class="title" type="boolean" default-value="true">
<name>Enable SSL</name>
<description>
If you want to communicate with the spamcluster over SSL, tick this box
</description>
</setting>
</group>
<group>
<name>Virtual MX record</name>
<setting id="mx1" class="title" type="string" default-value="" min-length="1">
<name>Primary MX</name>
</setting>
</group>
</global-settings>
<upgrade match="/application/version = '1.0' and /application/release >='161'" />
<!-- Defining services (step 3) -->
<service id="main" class="service">
<license must-accept="true">
<text>
<name>General Terms & Conditions and License Terms</name>
<url>http://www.spamexperts.com/fileadmin/documentation/EN/SpamExperts_General_Terms_and_Conditions_and_License_Terms.pdf</url>
</text>
</license>
<presentation>
<name>Domain Specific Settings</name>
<summary>This part contains all the domain specific settings. </summary>
<infolinks>
<link class="official" href="http://www.spamexperts.com/">Official site</link>
<link class="support" href="https://secure.spamexperts.com/whmcs/supporttickets.php">Support</link>
</infolinks>
<entry-points>
<entry dst="{spampanel_url}/index.php" method="POST">
<label>Antispam Controlpanel</label>
<variable name="spampanel_url" value-of-setting="spampanel_url" />
<!--<variable name="username" value-of-setting="domain_username" />-->
<variable name="password" value-of-setting="domain_password" />
<variable name="redirect">_BASE_</variable>
</entry>
</entry-points>
</presentation>
<settings>
<group class="authn">
<!--
<setting id="domain_username" class="domain-name" visibility="hidden" protected="true" type="domain-name" optional="true">
<name>Username</name>
</setting>
-->
<setting id="domain_password" class="password" type="password" protected="true" track-old-value="true" min-length="1">
<name>Password</name>
<description>
This password is being used to login to the antispam control panel.
</description>
</setting>
</group>
<group class="vcard">
<group class="email">
<setting id="email" class="email-of-application-domain" type="email" optional="true">
<name>Your e-mail address</name>
<description>This is the login part of your email which is automatically completed once a new account is created.</description>
<error-message>Please provide a valid email address</error-message>
</setting>
</group>
</group>
</settings>
<!-- Defining used technologies (step 4) -->
<requirements xmlns:php="http://apstandard.com/ns/1/php" xmlns:dns="http://apstandard.com/ns/1/dns">
<php:version min="5.2" />
<php:extension>openssl</php:extension>
<php:extension>curl</php:extension>
<!-- Defining content delivery method (step 5) -->
<!-- Primary Record (Required setting)-->
<dns:record>
<dns:id>MX1</dns:id>
<dns:mx>
<dns:src>
<dns:external value-of-setting="domains"></dns:external>
</dns:src>
<dns:priority>10</dns:priority>
<dns:dst>
<dns:external value-of-setting="mx1"/>
</dns:dst>
<dns:substitute/>
</dns:mx>
</dns:record>
</requirements>
<!-- Adding references to scripts (step 7) -->
<provision>
<configuration-script name="configure.php">
<script-language>php</script-language>
<structured-output/>
</configuration-script>
<!--
<resource-script name="report-resources.php">
<script-language>php</script-language>
</resource-script>
<backup-script name="backup.php">
<script-language>php</script-language>
</backup-script>
-->
</provision>
</service>
</application>