summaryrefslogtreecommitdiffstats
path: root/postfix_wizard
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2005-06-06 05:45:59 +0000
committerAntoine Ginies <aginies@mandriva.com>2005-06-06 05:45:59 +0000
commitd9a12ac3090d26768fcf855fb9c302804f367e7b (patch)
tree1e42a7dd5630b5a430f8608d8b3b50d626242e6a /postfix_wizard
parentf8688a89e1670fe2304d620c8b2db06cc9f9ac4e (diff)
downloaddrakwizard-d9a12ac3090d26768fcf855fb9c302804f367e7b.tar
drakwizard-d9a12ac3090d26768fcf855fb9c302804f367e7b.tar.gz
drakwizard-d9a12ac3090d26768fcf855fb9c302804f367e7b.tar.bz2
drakwizard-d9a12ac3090d26768fcf855fb9c302804f367e7b.tar.xz
drakwizard-d9a12ac3090d26768fcf855fb9c302804f367e7b.zip
fix to be able to launch wizard
Diffstat (limited to 'postfix_wizard')
-rwxr-xr-xpostfix_wizard/Postfix.pm12
1 files changed, 7 insertions, 5 deletions
diff --git a/postfix_wizard/Postfix.pm b/postfix_wizard/Postfix.pm
index e0c745ba..109641a2 100755
--- a/postfix_wizard/Postfix.pm
+++ b/postfix_wizard/Postfix.pm
@@ -109,6 +109,8 @@ my %understanding = (
2 => N('Expert - advanced options'),
);
+my @yesorno = qw(yes no); push @yesorno, "";
+
$o->{pages} = {
welcome => {
name => N("Internet mail configuration wizard") . "\n\n" . N("This wizard will help you configure an Postifx mail server for your network, or a Postfix mail relay."),
@@ -162,7 +164,7 @@ $o->{pages} = {
$::in->ask_warn(N('Error'), N('Please provide an Smtpd banner.')); return 1; }
if (!$o->{var}{wiz_myhostname}) {
$::in->ask_warn(N('Error'), N('You must provide an internet hostname of this mail system.')); return 1; }
- if (!$o->{var}{wiz_domain_name}) {
+ if (!$o->{var}{wiz_mydomain}) {
$::in->ask_warn(N('Error'), N('You must specifies the local internet domain name.')); return 1; }
},
},
@@ -171,12 +173,12 @@ $o->{pages} = {
pre => sub {
$o->{var}{wiz_smtpd_helo_required} ||= $postfix->{smtpd_helo_required};
$o->{var}{wiz_disable_vrfy_command} ||= $postfix->{disable_vrfy_command};
- smtpd_recipient_restrictions
- smtpd_data_restrictions
+ #smtpd_recipient_restrictions
+ # smtpd_data_restrictions
},
data => [
- { label => N('helo required:'), val => \$o->{var}{wiz_smtpd_helo_required}, fixed_list => \@yesrorno, help => '' },
- { label => N('Disable verify command:'), val => \$o->{var}{wiz_disable_vrfy_command}, fixed_list => \@yesrorno, help => '' },
+ { label => N('helo required:'), val => \$o->{var}{wiz_smtpd_helo_required}, fixed_list => \@yesorno, help => '' },
+ { label => N('Disable verify command:'), val => \$o->{var}{wiz_disable_vrfy_command}, fixed_list => \@yesorno, help => '' },
],
next => 'message_config',
},