The girls in my building management seem to have had too much fun decorating the lobby
Author Archive
Quickly Adjust Attachment Size Limits in Exchange 2007 & 2010
Inevitably the default attachment size limits in Exchange 2007 and 2010 end up being too small. I run into this all the time with Small Business Server 2008 and 2011 deployments where small businesses care more about being able to get all their email than the potential problems that large attachments can bring to enterprises deployments.
Changing the limits isn’t necessarily complicated, but there are a lot of places it needs to be changed to be effective. This gives enterprises a lot of power over message transactions, but can leave a sour taste in the mouth of any “computer dude” who’s primary job function is something other than managing the system. So in the interest of speeding up the process for myself and hopefully helping out a fellow I’ve written a very simple script that will update all the necessary limits for you. Simply copy/paste the below lines into a powershell (adjusting the initial variables as necessary) and away you go.
$MaxSend=”50MB”
$MaxRecieve=”50MB”
Set-TransportConfig –MaxSendSize $MaxSend –MaxReceiveSize $MaxRecieve
foreach ($rc in Get-ReceiveConnector) {Set-ReceiveConnector $rc.name –MaxMessageSize $MaxRecieve}
foreach ($sc in Get-SendConnector) {Set-SendConnector $sc.name –MaxMessageSize $MaxSend}
foreach ($mb in Get-Mailbox) {Set-Mailbox $mb.name –MaxSendSize unlimited –MaxReceiveSize unlimited}
This script is pretty global, very “blanket”. It’ll adjust all connectors without mercy to the size you specify, and will set all individual mailboxes to unlimited (which they should be already unless you’ve changed them). If you have any custom connectors you may have to go back and verify that they still meet your needs. If you are running a stock Small Business Server this script will end up changing the settings on the special connectors that are included as well, but it should be a safe change.
Finally, if you want to verify all the settings (or review them all before you start), you can issue the following lines to get an output of all the send and receive settings for all connectors on your system.
Get-TransportConfig | ft MaxSendSize, MaxReceiveSize
Get-ReceiveConnector | ft name, MaxMessageSize
Get-SendConnector | ft name, MaxMessageSize
Get-mailbox | ft Name, MaxSendSize, MaxReceiveSize
That Power
I told you something. It was just for you and you told everybody. So I learned cut out the middle man, make it all for everybody, always. Everybody can’t turn around and tell everybody, everybody already knows, I told them. But this means there isn’t a place in my life for you or someone like you. Is it sad? Sure. But it’s a sadness I chose.Childish Gambino - That Power
Poetic: Shutting people out may be sad, but sometimes its easier to cope with loneliness than betrayal.
My favorite line from the entire camp Album. If you haven’t listened to Childish Gambino’s “Camp”, you really should. Raw, emotional and entertaining. I know I’m late to the game with this one, but I can’t stop listening to the album.
Nostalgia – The Hero
This track is just amazing. A dubstep remake of the classic Zelda theme. What more could you ask for?
Been a couple days…
Around June I inherited a new server, substantially more powerful than the previous (although still second hand). At the same time I’ve decided to move away from Linux hosting and into Windows hosting. I wanted a challenge; to be able to run the same sites, with the same features I was running in Debian with Apache on Windows with IIS and overall its been very successful.
What I failed miserably at was moving my own personal blog (this site). Until about an hour ago I just had a placeholder up. I actually only had two people mention to me that the site was down, so that’s a pretty good sign of how few people visit regularly and my lack of ambition in getting it moved over but this morning my friend Liz said she needed something from the site but couldn’t tell me what, so I took an hour or so and get everything migrated over. Just in time to start up a new set of ‘Flavors of The Holidays‘.