none
chnage the Exchnage 2013 Message attachment size

    Question

  • Dear all , 

     we want is to allow 15 MB attachment size and 20 MB message size for all users except  one group who need 45 MB attachment size and 60 MB message size for both internal & external communication.

    what i have done is the blow :

    Organization transport settings - 100 MB

    Rule is 'If the message...The message size is larger than or equal to '20 MB (20,971,520 bytes)'
    and has an attachment that's larger than or equal to '15 MB (15,728,640 bytes)'
    Do the following...reject the message and include the explanation 'Message / Attachment size exceeds limit' with the status code: '5.7.1'

    'user mailbox -> mailbox features -> Message Size Restrictions' - 60 MB

    and still have problem with attachment

    please let me know what i need to remove or tune on the above to fix the issue .

     

    Monday, January 18, 2016 11:06 AM

Answers

  • Hi,

    If you have a transport rule that blocks attachments over 15MB then this will take priority over the mailbox settings where you have set the message size restrictions to 60MB. 

    Try create a transport rule that blocks attachments over 15MB for all users with the exception of the users who are members of the group that you want to apply a 60MB limit. Once done, create another transport rule for this group and set it to block attachments over 60MB. This way your rules won't clash. 

    You don't need any settings on the mailboxes.

    Thanks.


    Please mark as an answer if this answers your question

    Mark Gossa

    MCSE 2003, MCITP Enterprise Administrator 2008 R2, MCSA 2012 R2, MCTS Exchange 2010, MCTS SQL 2012, MCTS SharePoint 2007, VCP4, VCP5, CCNA

    Blog: http://markgossa.blogspot.com   LinkedIn:

    Posts are provided “AS IS” without warranty of any kind, either expressed or implied.

    Monday, January 18, 2016 12:30 PM
  • One thing to note. If you decide to use transport rules to regulate allowed message size, you should include a policy tip informing the user that the message will be rejected if oversized. 

    https://technet.microsoft.com/en-us/library/jj150512(v=exchg.150).aspx

    Mail Tips will not fire on a transport rule, but will on a message that exceeds a mailbox/org level limit.

    If you set a per mailbox message size limit, the advantage there is that Outlook/OWA users will not be allowed to add an attachment to a message that exceeds that limit, versus a transport rule which will process the message then reject it with a NDR.

    Just something to keep in mind.




    Blog:    Twitter:   

    Monday, January 18, 2016 1:00 PM
  • Hi,

    In exchange 2013, the limit of attachment can only be configured in transport rule. Here is my suggested procedure

    1.    Configure 20 MB message size limit for all users on Organization transport settings.

    Set-TransportConfig -MaxReceiveSize 20MB -MaxSendSize 20MB

    2.    Configure 15MB attachment size limit for all users except that distribution group via transport rule.

    3.    Configure 45MB attachment size limit for that distribution group via transport rule.

    4.    Configure 60 MB message size for members of that distribution group.

    Use this command to configure size limit one by one.

    Set-Mailbox -MaxSendSize 60MB -MaxReceiveSize 60MB

    Or use this script to configure size limit once.

    $allmailbox = Get-DistributionGroupMember TestGroup1
    
    Foreach ($Mailbox in $allmailbox)
    
    {Set-Mailbox $Mailbox.name -MaxSendSize 60MB -MaxReceiveSize 60MB}

    Best Regards.

    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com

    Lynn-Li
    TechNet Community Support

    Tuesday, January 19, 2016 6:38 AM
    Moderator

All replies

  • in the rule attachment size is used only for one attachment. 

    what problem do you have with attachments?

    Monday, January 18, 2016 12:16 PM
  • Hi,

    If you have a transport rule that blocks attachments over 15MB then this will take priority over the mailbox settings where you have set the message size restrictions to 60MB. 

    Try create a transport rule that blocks attachments over 15MB for all users with the exception of the users who are members of the group that you want to apply a 60MB limit. Once done, create another transport rule for this group and set it to block attachments over 60MB. This way your rules won't clash. 

    You don't need any settings on the mailboxes.

    Thanks.


    Please mark as an answer if this answers your question

    Mark Gossa

    MCSE 2003, MCITP Enterprise Administrator 2008 R2, MCSA 2012 R2, MCTS Exchange 2010, MCTS SQL 2012, MCTS SharePoint 2007, VCP4, VCP5, CCNA

    Blog: http://markgossa.blogspot.com   LinkedIn:

    Posts are provided “AS IS” without warranty of any kind, either expressed or implied.

    Monday, January 18, 2016 12:30 PM
  • One thing to note. If you decide to use transport rules to regulate allowed message size, you should include a policy tip informing the user that the message will be rejected if oversized. 

    https://technet.microsoft.com/en-us/library/jj150512(v=exchg.150).aspx

    Mail Tips will not fire on a transport rule, but will on a message that exceeds a mailbox/org level limit.

    If you set a per mailbox message size limit, the advantage there is that Outlook/OWA users will not be allowed to add an attachment to a message that exceeds that limit, versus a transport rule which will process the message then reject it with a NDR.

    Just something to keep in mind.




    Blog:    Twitter:   

    Monday, January 18, 2016 1:00 PM
  • Hi,

    In exchange 2013, the limit of attachment can only be configured in transport rule. Here is my suggested procedure

    1.    Configure 20 MB message size limit for all users on Organization transport settings.

    Set-TransportConfig -MaxReceiveSize 20MB -MaxSendSize 20MB

    2.    Configure 15MB attachment size limit for all users except that distribution group via transport rule.

    3.    Configure 45MB attachment size limit for that distribution group via transport rule.

    4.    Configure 60 MB message size for members of that distribution group.

    Use this command to configure size limit one by one.

    Set-Mailbox -MaxSendSize 60MB -MaxReceiveSize 60MB

    Or use this script to configure size limit once.

    $allmailbox = Get-DistributionGroupMember TestGroup1
    
    Foreach ($Mailbox in $allmailbox)
    
    {Set-Mailbox $Mailbox.name -MaxSendSize 60MB -MaxReceiveSize 60MB}

    Best Regards.

    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com

    Lynn-Li
    TechNet Community Support

    Tuesday, January 19, 2016 6:38 AM
    Moderator