Link to home
Start Free TrialLog in
Avatar of cyberleo2000
cyberleo2000Flag for United States of America

asked on

How do I add TLS domains in Exchange Online Protection

I need to configure a number of domains for TLS encryption in Exchange Online Protection. I run Exchange 2007 on-premise and use EOP for security. I think the only way to do this is through an EOP transport rule. So I ran the following commands:

$TLSList = Import-CSV -Path "c:\temp\TLSDomains.csv" | Select-Object -ExpandProperty Domains
New-TransportRule -Name "Global TLS Domains List" -RecipientDomainIs $TLSList -RouteMessageOutboundRequireTls $true

I get the following error:
The rule can't be created because it is too large. It has 11502 characters, and the maximum number of characters is 4096. Reduce the size, either by removing content, such as words or regular expressions, from the rule; or by removing conditions, exceptions, or actions from the rule.

The TLSDomains.csv file contains over 250 domains. Is this a limit I can increase or do I have to create multiple rules?

Am I doing this the right way or is there another place to add my TLS domains?

Thank you.
ASKER CERTIFIED SOLUTION
Avatar of Vasil Michev (MVP)
Vasil Michev (MVP)
Flag of Bulgaria image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of cyberleo2000

ASKER

And this is the only way to force encryption when sending to a domain, via a transport rule?
We're just using exchange online protection at this point.

thanks