Stop winmail.dat attachments to external recipients

Posted: February 25, 2013 in Exchange, Solved
Tags: , ,

This is such a pain. Only a very few people that receive mail from my Exchange server have problems where all attachments end up as winmail.dat. I don’t know the combinations that trigger it, but to simplify things, in Exchange 2010 I just set the external domain to send everything as plain text.

In Exchange 2013 you can’t do that through the GUI, so it’s time to resort to Powershell. Luckily the answer is much simpler than trying to work it out from the full command syntax.

SOLUTION

Thanks to a quick reply from the TechNet community the answer was actually pretty simple

Set-RemoteDomain -Identity <Name of Domain> -TNEFEnabled $false

So in my case to set it for *all* external email to be plain text, just configure the wildcard domain

Set-RemoteDomain -Identity * -TNEFEnabled $false

Comments
  1. John says:

    The full command for anyone only wanting to apply to a single domain:

    New-RemoteDomain -Name -DomainName
    Set-RemoteDomain -Identity -TNEFEnabled $false

    For example

    New-RemoteDomain -Name “Gmail” -DomainName “gmail.com”
    Set-RemoteDomain -Identity “Gmail” -TNEFEnabled $false

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s