summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--postfix_wizard/scripts/Postfixconf.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/postfix_wizard/scripts/Postfixconf.pm b/postfix_wizard/scripts/Postfixconf.pm
index dfaf1f47..63c1b263 100644
--- a/postfix_wizard/scripts/Postfixconf.pm
+++ b/postfix_wizard/scripts/Postfixconf.pm
@@ -56,7 +56,7 @@ sub do_it {
my $canon = "\n\@$wiz_domain_name $ENV{wiz_mail_masquerade}";
my $t;
foreach (cat_($file)) {
- if (/^\s*(?!\#)\s*\@.*\@.*\@.*/) {
+ if (/^\s*(?!\#)\s*\@$wiz_domain_name.*/) {
$t = $_;
last;
}