Add scope modifiers for no-language mode
This commit is contained in:
parent
eaf09b4d23
commit
0970627a22
@ -5,4 +5,4 @@ $connector_name = 'Spamfilter Connector'
|
||||
$hostname = 'spamgateway.aperturect.com'
|
||||
$spamfilterips = {127.0.0.1}, {127.0.0.2}
|
||||
# Create connector for spam filter and enable EF
|
||||
New-InboundConnector -Name $connector_name -SenderDomains {smtp:*;1} -EFSkipIPs $spamfilterips -RestrictDomainsToCertificate $true -RequireTLS $true -TlsSenderCertificateName $hostname -CloudServicesMailEnabled $true -ConnectorType OnPremises
|
||||
New-InboundConnector -Name $using:connector_name -SenderDomains {smtp:*;1} -EFSkipIPs $using:spamfilterips -RestrictDomainsToCertificate $true -RequireTLS $true -TlsSenderCertificateName $using:hostname -CloudServicesMailEnabled $true -ConnectorType OnPremises
|
@ -1,5 +1,5 @@
|
||||
# Set up command to run and vars for that command
|
||||
$ScriptBlock = {New-InboundConnector -Name $connector_name -SenderDomains {smtp:*;1} -EFSkipIPs $spamfilterips -RestrictDomainsToCertificate $true -RequireTLS $true -TlsSenderCertificateName $hostname -CloudServicesMailEnabled $true -ConnectorType OnPremises}
|
||||
$ScriptBlock = {New-InboundConnector -Name $using:connector_name -SenderDomains {smtp:*;1} -EFSkipIPs $using:spamfilterips -RestrictDomainsToCertificate $true -RequireTLS $true -TlsSenderCertificateName $using:hostname -CloudServicesMailEnabled $true -ConnectorType OnPremises}
|
||||
|
||||
$connector_name = 'Spamfilter Connector'
|
||||
$hostname = 'spamgateway.aperturect.com'
|
||||
|
Loading…
Reference in New Issue
Block a user