From 455e179f91b07589e6cbc8fee7b3f286a562c9d9 Mon Sep 17 00:00:00 2001 From: Antoine Ginies Date: Tue, 3 Feb 2004 17:55:25 +0000 Subject: - fix weird line - fix internal Mail server configuration --- postfix_wizard/Postfix.pm | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'postfix_wizard') diff --git a/postfix_wizard/Postfix.pm b/postfix_wizard/Postfix.pm index b3f15bbb..bfc966f8 100755 --- a/postfix_wizard/Postfix.pm +++ b/postfix_wizard/Postfix.pm @@ -44,7 +44,7 @@ my $o = { }, init => sub { check_sendmail(); - my $t =grep { /$wiz_host_name/ } cat_("/etc/hosts"); + my $t = grep { /$wiz_host_name/ } cat_("/etc/hosts"); if ($t == 0) { return 0, N("Error, can't find your hostname in /etc/hosts. Exiting.") } @@ -89,13 +89,6 @@ $o->{pages} = { ], next => 'isp', }, - internal => { - name => N("tata"), - data => [ - { label => N("aa"), val => \$o->{var}{tata} }, - ], - next => 'summaryint', - }, warning => { name => N("Warning:") . "\n\n" . N("You entered an empty address for the mail gateway.") . "\n\n" . N("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."), next => 'summaryext', @@ -145,6 +138,11 @@ $o->{pages} = { post => \&do_it_external, next => 'endext' }, + summaryint => { + name => N("Configuring the Internal Mail Server"), + post => \&do_it_internal, + next => 'endext' + }, endext => { name => N("Congratulations") . "\n\n" . N("The wizard successfully configured your Internet Mail service of your server."), end => 1, -- cgit v1.2.1