postfix export
authorivan <ivan>
Fri, 13 Feb 2004 18:58:47 +0000 (18:58 +0000)
committerivan <ivan>
Fri, 13 Feb 2004 18:58:47 +0000 (18:58 +0000)
bin/postfix.export

index 7894a3a..64d9738 100755 (executable)
@@ -107,7 +107,7 @@ foreach my $export ( @exports ) {
     dest    => "$user\@$machine:". $export->option('virtual'),
   } ) or die "rsync to $machine failed: ". join(" / ", $rsync->err);
 #  warn $rsync->out;
-
+  ssh("$user\@$machine", "postmap hash:/etc/postfix/virtual");
   ssh("$user\@$machine", "postfix reload");
 
 }