VMware Workspace ONE Community
SEBASTIAN3
Contributor
Contributor

SEG V2 - Change mail size limit

Hi,

we are using SEG 2 on Windows Server.
How can we increase the email size? Currently we cannot send emails larger than 10MB.

Where can I increase this limit?

Thanks,
Sebastian

Labels (1)
0 Kudos
8 Replies
syarbrou
Enthusiast
Enthusiast

Ever figure this out?

0 Kudos
syarbrou
Enthusiast
Enthusiast

Thanks saw that link before.  Don't think it applies though to Boxer and using SEG V2.  

0 Kudos
somemdm
Enthusiast
Enthusiast

It does. SEG V2 + Boxer is what we run and we had this issue.

Follow the steps for 'Scenario 3: Native client with SEG Proxy' - ActiveSync as a protocol doesn't care if you're using Boxer or native as your client. Be sure to check it on the Exchange server end as well: Configure client-specific message size limits | Microsoft Docs

Tags (1)
0 Kudos
MohammedMA
Contributor
Contributor

The steps for 'Scenario 3' shows how to do it in Windows based SEG, any direction for SEGv2 on UAG.

0 Kudos
AdminSD
Contributor
Contributor

Was there any resolution on this? We're running into the same issue on a SEG V2. Amy attachment more that 10 MB trying to be sent from a device (iOS) is being blocked, while our Exchange max is set much higher and sending directly through an Exchange ActiveSync connection without the SEG isn't an issue.

0 Kudos
AdminSD
Contributor
Contributor

Okay, I was able to figure it out. The old VMware article had at least somewhat where to look in the with the Exchange server IIS settings, the best reference was from Microsoft in regard to client-specific message size limits that can cause this issue:

Configure client-specific message size limits in Exchange Server 

The ActiveSync commands (followed by an iisreset) immediately got things going, even the failed sends from prior were sent by the device successfully:

%windir%\system32\inetsrv\appcmd.exe set config "Default Web Site/Microsoft-Server-ActiveSync/" -section:system.webServer/security/requestFiltering /requestLimits.maxAllowedContentLength:51200000
%windir%\system32\inetsrv\appcmd.exe set config "Default Web Site/Microsoft-Server-ActiveSync/" -section:system.web/httpRuntime /maxRequestLength:51200
%windir%\system32\inetsrv\appcmd.exe set config "Exchange Back End/Microsoft-Server-ActiveSync/" -section:system.webServer/security/requestFiltering /requestLimits.maxAllowedContentLength:51200000
%windir%\system32\inetsrv\appcmd.exe set config "Exchange Back End/Microsoft-Server-ActiveSync/" -section:system.web/httpRuntime /maxRequestLength:51200
%windir%\system32\inetsrv\appcmd.exe set config "Exchange Back End/Microsoft-Server-ActiveSync/" -section:appSettings /[key='MaxDocumentDataSize'].value:51200000

It should be noted that it's been observed that the settings may revert to default after an Exchange CU, so keep note of what changes you've made to reapply them

0 Kudos
rafaelluz
Enthusiast
Enthusiast

Depending on your architecture, check your Exchange configuration 

Run the following command on Exchange PowerShell against an account and test sending attachments

Set-Mailbox -Identity "Sebastian" -MaxSendSize 25mb -MaxReceiveSize 35mb

 

I use UAG with SEG Role in it so I don't have any issues sending larger emails, but maybe the scenario 3 might help? 

Unable to send attachments larger than 10MB (50101175) (vmware.com)

 

Also, do you receive bounce messages when sending emails out? because you must take into consideration the other end and what's the maxim size they accept, otherwise you will get bounced back.

 

 

0 Kudos