Disclaimer: We hope that the information on these pages is valuable to you.
Your use of the information contained in these pages, however, is at your sole risk.
All information on these pages is provided "as -is", without any warranty, whether express or implied,
of its accuracy, completeness, fitness for a particular purpose, title or non-infringement,
and none of the third-party products or information mentioned in the work are authored, recommended, supported or guaranteed by site owners or operators.
Further, the site owners and operators shall not be liable for any damages you may sustain by using this information,
whether direct, indirect, special, incidental or consequential, even if it has been advised of the possibility of such damages.
Warning: main(/home/prosphot/public_html/smog/track/write_logs.php) [function.main]: failed to open stream: No such file or directory in /home/prosphot/public_html/blog/skins/leaf/footer.php on line 3
Warning: main(/home/prosphot/public_html/smog/track/write_logs.php) [function.main]: failed to open stream: No such file or directory in /home/prosphot/public_html/blog/skins/leaf/footer.php on line 3
Warning: main() [function.include]: Failed opening '/home/prosphot/public_html/smog/track/write_logs.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/prosphot/public_html/blog/skins/leaf/footer.php on line 3
Tue 04.08.08: Create AcceptedDomain and SendConnector
This is a script that will create an Accepted Domain and then will create a send connector so it will relay to a different server.The reason I created this is because we have a LOT of domains we need to accept mail for, but if it does not reside in this Exchange Organization, we need to forward it to another Exchange Organization.
Usage: ./new_domain [DOMAIN NAME] [IP ADDRESS OF SECOND SERVER]
Example: ./newdomain 0x80004005.net 10.1.4.25
param($dn,$tip)
$SourceServers = "{MAIL04, MAIL03, MAIL02, MAIL01}"
$AddressSpace = "SMTP:*.$dn;1"
$SmartHosts = "[$tip]"
New-AcceptedDomain -Name $dn -DomainName $dn -DomainType InternalRelay
new-SendConnector -Name $dn -Usage 'Custom' -AddressSpaces $AddressSpace -IsScopedConnector $false -DNSRoutingEnabled $false -SmartHosts $SmartHosts -SmartHostAuthMechanism 'None' -UseExternalDNSServersEnabled $false -SourceTransportServers 'MAIL01','MAIL02','MAIL03','MAIL04'
Item Rating Information....