>
> I'm trying to find a way that any domains added by non-Unix administrators
in
> Imail make their way over to IMGate. Any idears?
>
IMGate has allowed many of GUI jockeys to move away from the darkside and
see the light.
BOFH . . Type them in by hand ;-0
Or you could use the script below. Use this script at your own risk. And
make the appropriate changes. Example my $default_transport =
"209.113.151.19"; Put in the ip address of your Imail box.
!/usr/bin/perl
#
# add transport and relay for domain.
my $postmap = "/usr/sbin/postmap";
my $domain = "";
my $transport = "";
my $default_transport = "209.113.151.19";
my $transport_map_file = "/etc/postfix/transport.map";
my $relay_domains_file = "/etc/postfix/relay_domains.map";
if ($#ARGV eq -1) {
print "usage: $0 <domain> [transport]\n";
exit 255;
}
$domain = $ARGV[0];
chomp($domain);
if ($ARGV[1] eq "") {
$transport = $default_transport;
} else {
$transport = $ARGV[1];
chomp($transport);
}