aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/postfix.xml40
1 files changed, 30 insertions, 10 deletions
diff --git a/packages/postfix.xml b/packages/postfix.xml
index 15a76533..62986685 100644
--- a/packages/postfix.xml
+++ b/packages/postfix.xml
@@ -18,21 +18,41 @@
<fielddescr>Primary Domain</fielddescr>
<fieldname>primarydomain</fieldname>
<description>Enter your primary domain. (ex: example.com)</description>
- <type>domain</type>
+ <type>input</type>
</field>
<field>
- <fielddescr></fielddescr>
- <fieldname></fieldname>
- <type></type>
+ <fielddescr>My Hostname</fielddescr>
+ <fieldname>hostname</fieldname>
+ <description>Enter the hostname of this system to be used by Postfix. (ex: mail.example.com)</description>
+ <type>input</type>
+ </field>
+ </fields>
+ <adddeleteeditpagefields>
+ <columnitem>
+ <fielddescr>Domain</fielddescr>
+ <fieldname>forwardeddomain</fieldname>
+ </columnitem>
+ <columnitem>
+ <fielddescr>Mail Server IP</fielddescr>
+ <fieldname>mailserverip</fieldname>
+ </columnitem>
+ </adddeleteeditpagefields>
+ <!-- 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>Domain</fielddescr>
+ <fieldname>domain</fieldname>
+ <description>Enter the domain here (ex: example.com)</description>
+ <type>input</type>
</field>
<field>
- <fielddescr>Interface</fielddescr>
- <fieldname>iface</fieldname>
- <size>3</size>
- <multiple>true</multiple>
- <type>interfaces_selection</type>
+ <fielddescr>Mail Server IP</fielddescr>
+ <fieldname>mailserverip</fieldname>
+ <description>Enter the IP of the mail server to forward to here.</description>
+ <type>input</type>
</field>
- </fields>
+ </fields>
<custom_add_php_command>
</custom_add_php_command>
<custom_php_deinstall_command>