ispman/bin ispman.postfix.makemaps,1.10,1.11
Joerg Delker <[email protected]>
| Newsgroups | gmane.comp.isp.ispman.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ispman/ispman/bin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21561/bin
Modified Files:
ispman.postfix.makemaps
Log Message:
fixes bugfix for [ 972117 ] ;)
Index: ispman.postfix.makemaps
===================================================================
RCS file: /cvsroot/ispman/ispman/bin/ispman.postfix.makemaps,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- ispman.postfix.makemaps 13 Jun 2004 15:48:12 -0000 1.10
+++ ispman.postfix.makemaps 14 Jun 2004 08:48:46 -0000 1.11
@@ -26,29 +26,22 @@
next unless $_;
$domain_info = $ispman->getDomainInfo($_);
- # generate maps for domain if mail service is enabled
- if (
- grep ( /mail/,
- $ispman->as_array( $domain_info->{'ispmanDomainService'} ) )
- )
- {
-
- # add domain to relay or destination map depending on delivery method
- if ( $domain_info->{'ispmanDomainMailDeliveryMethod'} eq "smtp" ) {
- $relay_map->{$_} = $_;
- }
- else {
- $dest_map->{$_} = $_;
- }
-
- if ( $domain_info->{'ispmanReplicaMaster'} ) {
+ # add domain to relay or destination map depending on delivery method
+ if ( $domain_info->{'ispmanDomainMailDeliveryMethod'} eq "smtp" ) {
+ $relay_map->{$_} = $_;
+ }
+ else {
+ $dest_map->{$_} = $_;
+ }
+
+ if ( $domain_info->{'ispmanReplicaMaster'} ) {
$canonical_map->{"\@$_"} = join "",
- ( '@', $domain_info->{'ispmanReplicaMaster'} );
+ ( '@', $domain_info->{'ispmanReplicaMaster'} );
}
-
- $transport_map->{$_} = $ispman->getTransportMap($_);
- }
+
+ $transport_map->{$_} = $ispman->getTransportMap($_);
}
+
write_map( "$smtpServerConfDir/canonical", $canonical_map );
write_map( "$smtpServerConfDir/relay_domains", $relay_map );
write_map( "$smtpServerConfDir/destination_domains", $dest_map );
-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504