Fix ConnectorType
This commit is contained in:
parent
0318da6697
commit
eaf09b4d23
@ -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
|
||||
New-InboundConnector -Name $connector_name -SenderDomains {smtp:*;1} -EFSkipIPs $spamfilterips -RestrictDomainsToCertificate $true -RequireTLS $true -TlsSenderCertificateName $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}
|
||||
$ScriptBlock = {New-InboundConnector -Name $connector_name -SenderDomains {smtp:*;1} -EFSkipIPs $spamfilterips -RestrictDomainsToCertificate $true -RequireTLS $true -TlsSenderCertificateName $hostname -CloudServicesMailEnabled $true -ConnectorType OnPremises}
|
||||
|
||||
$connector_name = 'Spamfilter Connector'
|
||||
$hostname = 'spamgateway.aperturect.com'
|
||||
|
Loading…
Reference in New Issue
Block a user