diff options
author | Arnaud Desmons <adesmons@mandriva.com> | 2002-08-30 08:13:04 +0000 |
---|---|---|
committer | Arnaud Desmons <adesmons@mandriva.com> | 2002-08-30 08:13:04 +0000 |
commit | 2ec3d73a715b02e6373967048a2ee5247818aa2c (patch) | |
tree | 638c92a0af950542b568a8e16aaa84eae12e11ee /postfix_wizard | |
parent | 9e6f7f74bdccea9a21601ace6219bb3b34ce7221 (diff) | |
download | drakwizard-2ec3d73a715b02e6373967048a2ee5247818aa2c.tar drakwizard-2ec3d73a715b02e6373967048a2ee5247818aa2c.tar.gz drakwizard-2ec3d73a715b02e6373967048a2ee5247818aa2c.tar.bz2 drakwizard-2ec3d73a715b02e6373967048a2ee5247818aa2c.tar.xz drakwizard-2ec3d73a715b02e6373967048a2ee5247818aa2c.zip |
canonical bug
Diffstat (limited to 'postfix_wizard')
-rw-r--r-- | postfix_wizard/scripts/Postfixconf.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/postfix_wizard/scripts/Postfixconf.pm b/postfix_wizard/scripts/Postfixconf.pm index ccb99468..dfaf1f47 100644 --- a/postfix_wizard/scripts/Postfixconf.pm +++ b/postfix_wizard/scripts/Postfixconf.pm @@ -53,7 +53,7 @@ sub do_it { } if (defined $ENV{wiz_ext_mail_relay}) { my $file = "/etc/postfix/canonical"; - my $canon = "\n\@$wiz_domain_name \@$ENV{wiz_mail_masquerade}"; + my $canon = "\n\@$wiz_domain_name $ENV{wiz_mail_masquerade}"; my $t; foreach (cat_($file)) { if (/^\s*(?!\#)\s*\@.*\@.*\@.*/) { @@ -62,7 +62,7 @@ sub do_it { } } if ($t) { substInFile { s|$t|\#$&$canon|} $file } - else { append_to_file($canon) } + else { append_to_file($file, $canon) } } system("postmap /etc/postfix/canonical"); system("postmap /etc/postfix/virtual"); |