summaryrefslogtreecommitdiffstats
path: root/postfix_wizard/postfix.wiz
diff options
context:
space:
mode:
Diffstat (limited to 'postfix_wizard/postfix.wiz')
-rw-r--r--postfix_wizard/postfix.wiz350
1 files changed, 1 insertions, 349 deletions
diff --git a/postfix_wizard/postfix.wiz b/postfix_wizard/postfix.wiz
index ea9520f9..c0930fa1 100644
--- a/postfix_wizard/postfix.wiz
+++ b/postfix_wizard/postfix.wiz
@@ -6,14 +6,7 @@
libScript="__WIZ_HOME__/common/scripts/functions.sh"
wizardTitle="Postfix wizard"
imagePosition="top"
- defaultImage="__WIZ_HOME__/images/courrier.jpg"
- height="400"
- width="525"
- hasDb="true"
- dbPositions="2"
- dbFilename="/var/log/wizards/postfix.wdb"
- referenceLength="425"
- referenceHeight="13"
+ defaultImage="__WIZ_HOME__/postfix_wizard/images/courrier"
perlModule="__WIZ_HOME__/postfix_wizard/scripts/Postfixconf.pm"
rpm="postfix"
>
@@ -21,18 +14,12 @@
<Variable
name="wiz_mail_masquerade"
shellVariable="wiz_mail_masquerade"
- persistent="true"
- dbPosition="0"
- key="false"
>
</Variable>
<Variable
name="wiz_ext_mail_relay"
shellVariable="wiz_ext_mail_relay"
- persistent="true"
- dbPosition="1"
- key="false"
>
</Variable>
@@ -65,34 +52,13 @@
</Target>
<Info
- name="welcomeTitle"
- alignement="Center"
helpText="Internet Mail Configuration Wizard"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
>
</Info>
- <Info
- name="info27"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info2"
- alignement="Center"
helpText="This wizard will help you configuring the Internet Mail services for your network."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
</Page>
@@ -107,35 +73,14 @@
canCancel="true"
>
- <Info
- name="info4"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info5"
- alignement="Center"
helpText="Sorry, you have to be root to run this wizard..."
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
>
</Info>
<Info
- name="info6"
- alignement="Center"
helpText="See you soon!"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
</Page>
@@ -152,17 +97,8 @@
<Freetext
name="freetext"
variableName="wiz_mail_masquerade"
- alignement="Center"
fillScript="get_var wiz_mail_masquerade"
- guiType="textfield"
- inputType="domain"
editable="true"
- fontName="Default"
- fontStyle="bold"
- fontSize="11"
- proportional="2"
- ratio="30"
- length="40"
>
</Freetext>
</Page>
@@ -190,82 +126,29 @@
</Target>
<Info
- name="addressTitle"
- alignement="Center"
helpText="Outgoing Mail Address"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
>
</Info>
- <Info
- name="info8"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info9"
- alignement="East"
helpText="You can select the kind of address that outgoing mail will show in the \qFrom:\q and \qReply-to\q field."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
- <Info
- name="info11"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Freetext
name="wiz_mail_masquerade"
variableName="wiz_mail_masquerade"
- alignement="Fill"
fillScript="get_var wiz_domain_name $wiz_mail_masquerade"
helpText="Mail Address:"
- guiType="textfield"
editable="true"
- fontName="Default"
- fontStyle="bold"
- fontSize="11"
- proportional="2"
- ratio="30"
- length="40"
>
</Freetext>
- <Info
- name="info34"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info35"
- alignement="East"
helpText="This should be chosen consistently with the address you use for incoming mail."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
</Page>
@@ -281,13 +164,7 @@
>
<Info
- name="info12"
- alignement="Center"
helpText="Masquerade not good!"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
>
</Info>
</Page>
@@ -315,81 +192,28 @@
</Target>
<Info
- name="ispTitle"
- alignement="Center"
helpText="Internet Mail Gateway"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
>
</Info>
- <Info
- name="info14"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info15"
- alignement="East"
helpText="Your server will send the outgoing through a mail gateway, that will take care of the final delivery."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
- <Info
- name="info32"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Freetext
name="wiz_ext_mail_relay"
variableName="wiz_ext_mail_relay"
- alignement="Fill"
helpText="Mail Server Name:"
- guiType="textfield"
editable="true"
- fontName="Default"
- fontStyle="bold"
- fontSize="11"
- proportional="2"
- ratio="30"
- length="30"
>
</Freetext>
- <Info
- name="info"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info1"
- alignement="East"
helpText="Internet host names must be in the form \qhost.domain.domaintype\q; for example, if your provider is \qprovider.com\q, the internet mail server is usually \qsmtp.provider.com\q."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
</Page>
@@ -404,45 +228,18 @@
>
<Info
- name="info37"
- alignement="Center"
helpText="Warning:"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
>
</Info>
- <Info
- name="info371"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info372"
- alignement="Center"
helpText="You entered an empty address for the mail gateway."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
<Info
- name="info373"
- alignement="Center"
helpText="Your choice can be accepted, but this will not allow you to send mail outside your local network. Press next to continue, or back to enter a value."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
</Page>
@@ -471,98 +268,37 @@
</Target>
<Info
- name="info17"
- alignement="Center"
helpText="Configuring the Internet Mail"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
>
</Info>
- <Info
- name="info18"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info19"
- alignement="East"
helpText="The wizard collected the following parameters
needed to configure your Internet Mail Service:"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
- <Info
- name="info29"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Freetext
name="freetext1"
- alignement="Fill"
fillScript="(export wiz_ext_mail_relay=`__WIZ_HOME__/postfix_wizard/scripts/compute_mail_relay.sh`; echo $wiz_ext_mail_relay)"
helpText="Internet Mail Gateway"
- guiType="textfield"
editable="false"
- fontName="Default"
- fontStyle="bold"
- fontSize="11"
- proportional="2"
- ratio="30"
- length="40"
>
</Freetext>
<Freetext
name="freetext2"
- alignement="Fill"
fillScript="(export wiz_mail_masquerade=`__WIZ_HOME__/postfix_wizard/scripts/compute_masquerade.sh`; echo $wiz_mail_masquerade)"
helpText="Form of the Address"
- guiType="textfield"
editable="false"
- fontName="Default"
- fontStyle="bold"
- fontSize="11"
- proportional="2"
- ratio="30"
- length="40"
>
</Freetext>
- <Info
- name="info31"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info20"
- alignement="East"
helpText="To accept these values, and configure your server, click on \qConfigure\q or use the Back button to correct them."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
</Page>
@@ -577,34 +313,13 @@ needed to configure your Internet Mail Service:"
>
<Info
- name="info21"
- alignement="Center"
helpText="Hmmm"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
>
</Info>
- <Info
- name="info22"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info23"
- alignement="Center"
helpText="There seems to be a problem... go ask to the big black man downstairs"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
</Page>
@@ -620,66 +335,24 @@ needed to configure your Internet Mail Service:"
>
<Info
- name="errorLabel"
- alignement="Center"
helpText="Network not configured yet"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
>
</Info>
- <Info
- name="info23"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
- >
- </Info>
<Info
- name="info22"
- alignement="Center"
helpText="You have to configure the basic network parameters before launch this wizard."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
<Info
- name="info25"
- alignement="Center"
helpText="Press next to configure these parameters now, or Cancel to exit this wizard."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
- <Info
- name="info26"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info24"
- alignement="Center"
helpText="If you choose to configure now, you will automatically continue with the POSTFIX configuration"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
</Page>
@@ -706,34 +379,13 @@ needed to configure your Internet Mail Service:"
>
<Info
- name="info24"
- alignement="Center"
helpText="Congratulations"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
>
</Info>
- <Info
- name="info25"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info26"
- alignement="Center"
helpText="The wizard successfully configured your Internet Mail service of your server."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
</Page>