Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Attachment Limit Problem

Status
Not open for further replies.

netadmin19355

IS-IT--Management
Dec 7, 2004
47
US
Hello! We have Exchange 2007 SP1 and we recently installed the Edge Server Role into the environment. Now, everything was working fine before with regards to attachment limits. I had a global limit (as well as the send and receive connectors) set at 10MB BUT my Admin mailbox was set (via the Exchange Console) to 30 MB and it worked great. It bypassed the limits. Now, with the Edge Server I can SEND over 10 MB but I cannot receive them. I think it has to do with a connector from the Edge to the internal Server but I am not sure what the best solution is. I tried using Outlook Express and I can receive an attachment if I submit right to the Internal Exchange Server, but if I try to send into the Edge Server first with Outlook Express it fails with "attachment too large" error.

What is the best solution to block 10 MB for everyone, and let the admin mailbox bypass it?

Thanks,
Wes
 
You've got to think here about server to server limits and mailbox limits.

You need to increase the server to server limit to 30MB and set the mailbox limits to 10MB for everyone except admin.

By default, when you set up new connectors to interoperate between your Exchange servers, you will find that the connectors are set with 10MB limits. With any encapsulating overhead this means less than 10MB.

Drop to a Powershell command prompt and type:
Get-Receiveconnector | Select identity,MaxMessageSize

This will list the 10MB limits of both your client connector and default connector (if you have followed standard practice). Now increase it. Since this is for internal traffic, make it large.

Set-Receiveconnector -identity "server\site" -MaxMessageSize: 30MB

Substitute server\site for the exact output in the get- results. Then repeat the get- command to ensure that the new limits are in place.

Then you can set the 10MB limits to all mailboxes except Admin.
 
Wow, thanks so much for the input! Is there an easy way to set the mailbox limit for everyone except admin?

-Wes
 
Depends who you ask...if you are telling your Boss, it is an onerous task, otherwise, it is easy.

Back into Powershell...
set-mailbox -identity * -maxsendsize 10MB -maxreceivesize 10MB
That will set both send and receive to 10MB, remove one part as required if you only want one way set. Don't forget that with the MIME overhead you may only be able to send 8MB or 9MB before you hit that limit with the encapsulation overhead.

Then
set-mailbox -identity netadmin19355 -maxsendsize unlimited -maxreceivesize unlimited
which will set you to unlimited (which is a real setting as it 10MB, 1GB, 2KB and so on).

Hope this helps.
 
Thanks again! Ok I tried your command to set all mailboxes with the * and I got this error in the shell:

Set-Mailbox : The operation could not be performed because '*' matches multiple entries

Any ideas?

-Wes
 
Ok, I figured that one part out, I had to do a get-mailbox * first and then pipe the set-mailbox command afterwards.

Now, my questions is, will I have to manually add the quota to each new account or is there something I can set to automatically do this for me?

-Wes
 
You can set it globally but I can't recall the command off the top of my head! Will post back if I remember it.
 
Did you ever figure out how to set this globally so it will do this automatically going forward?

Thanks,
Wes
 
Get-mailboxes servername –Eq E2007.domainname.com | Set-mailbox –prohibitsendquota 6GB will set a 6GB mailbox send quota for all users on that server
 
Thanks, but what I need is a way to set it globally for all new users that I create so I don't have to set it every time. Any thoughts?

-Wes
 
Well a new user will come on board and get the mailbox storage limit anyway - you can set that in the GUI.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top