summaryrefslogtreecommitdiffstats
path: root/postfix_wizard/Postfix.pm
diff options
context:
space:
mode:
Diffstat (limited to 'postfix_wizard/Postfix.pm')
-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',
},