diff options
Diffstat (limited to 'postfix_wizard')
-rw-r--r-- | postfix_wizard/postfix.wiz | 859 |
1 files changed, 859 insertions, 0 deletions
diff --git a/postfix_wizard/postfix.wiz b/postfix_wizard/postfix.wiz new file mode 100644 index 00000000..b17a76c2 --- /dev/null +++ b/postfix_wizard/postfix.wiz @@ -0,0 +1,859 @@ +<?xml version="1.0"?> + + +<Wizard + name="general" + libScript="__WIZ_HOME__/common/scripts/functions.sh" + wizardTitle="wizdrake: 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" + perlModule="__WIZ_HOME__/postfix_wizard/scripts/Postfixconf.pm" +> + + <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> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-postfix.html" + name="welcome" + jumpScript="__WIZ_HOME__/common/scripts/check.sh root wiz_ip_net" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="default_masq" + jumpIndex="0" + > + </Target> + + <Target + targetName="Not good" + jumpIndex="1" + > + </Target> + + <Target + targetName="error_need_net" + jumpIndex="2" + > + </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" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info3" + alignement="Center" + helpText="the Internet Mail services for your network." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-postfix.html" + name="Not good" + nextButtonText="End" + executionLevel="NORMAL" + nextFinish="true" + canBack="false" + 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> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-postfix.html" + name="default_masq" + executionLevel="DEBUG" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <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> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-postfix.html" + name="Form_of_address" + jumpScript="__WIZ_HOME__/postfix_wizard/scripts/check_masquerade.sh" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="Masquerade_not_good" + jumpIndex="1" + > + </Target> + + <Target + targetName="ISP" + jumpIndex="10" + > + </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" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info10" + alignement="East" + helpText="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" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info36" + alignement="East" + helpText="you use for incoming mail." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-postfix.html" + name="Masquerade_not_good" + jumpPage="Form_of_address" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Info + name="info12" + alignement="Center" + helpText="Masquerade not good!" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-postfix.html" + name="ISP" + jumpScript="__WIZ_HOME__/postfix_wizard/scripts/check_relay.sh" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="Confirmation" + jumpIndex="10" + > + </Target> + + <Target + targetName="warning" + jumpIndex="1" + > + </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," + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info16" + alignement="East" + helpText="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" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info7" + alignement="East" + helpText="example, if your provider is \qprovider.com\q, the internet mail server" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info13" + alignement="East" + helpText="is usually \qsmtp.provider.com\q." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-postfix.html" + name="warning" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <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" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info38" + alignement="Center" + helpText="outside your local network. Press next to continue, or back to enter a value." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-postfix.html" + name="Confirmation" + nextButtonText="Do It" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="Congratulations" + jumpIndex="10" + > + </Target> + + <Target + targetName="Big problem" + jumpIndex="1" + > + </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 parameter" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info28" + alignement="East" + helpText="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" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info30" + alignement="East" + helpText="\qConfigure\q or use the Back button to correct them." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-postfix.html" + name="Big problem" + executionLevel="NORMAL" + nextFinish="true" + canBack="true" + canCancel="true" + > + + <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> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-postfix.html" + name="error_need_net" + subWizard="__WIZ_HOME__/server_wizard/server.wiz" + executionLevel="NORMAL" + nextFinish="false" + canBack="false" + canCancel="true" + > + + <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" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info27" + alignement="Center" + helpText="with the POSTFIX configuration" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-postfix.html" + name="server launcher" + jumpPage="Form_of_address" + executionLevel="DEBUG" + nextFinish="false" + canBack="true" + canCancel="true" + > + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-postfix.html" + name="Congratulations" + nextButtonText="Quit" + func="do_it" + executionLevel="NORMAL" + nextFinish="true" + canBack="false" + canCancel="false" + > + + <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" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info33" + alignement="Center" + helpText="Internet Mail service of your server." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> +</Wizard> |