Custom NDR in Exch 2007
Hello, Im looking to make a custom NDR to replace the one for "552 5.3.4 Message size exceeds fixed maximum message size". I want to include what our limits are and some suggestions on how to reduce the emails size. We are running Exchange 2007 on 2008 Server. I cant seem to find anything to guide me though customizing it. Anyone able to help or point me in the right direction? Thanks! Things ive tried: Using the cmdlet New System Message to change DSN. Setting this command - Set-TransportConfig -DSNConversionMode DoNotConvert The Transport Rule wording seems to point to single attachments and not the size of the total email so im not sure that will work.
June 29th, 2009 11:49pm
Hi vanir,
Try below Cmdlets,
New Custome messageNew-SystemMessage -QuotaMessageType "WarningMailbox" -Language EN -Text "Add your custome mailbox Werning"
to see custome messageGet-SystemMessage -Identity EN\WarningMailbox | FL
To Modify Custom Quota Messages Set-SystemMessage -Identity EN\WarningMailbox -Text "This is a modified custom quota message."
To Remove Custom Quota Messages Remove-SystemMessage -Identity EN\WarningMailbox
Resources=========
How to Manage Quota Messages---------------------------------http://technet.microsoft.com/en-us/library/bb232089.aspx
New-SystemMessagehttp://technet.microsoft.com/en-us/library/aa998878.aspx
Regards
Free Windows Admin Tool Kit Click here and download it now
June 30th, 2009 5:06am
New-SystemMessage -QuotaMessageType "WarningMailbox" -Language EN -Text "Add your custome mailbox Werning"
Isnt that command only for internal mailbox size messages? Im looking to set the message external senders get when sending an email with an attachment that's too large for our system. Would that command work for that?
June 30th, 2009 8:24pm
HI,Please read below technet article it is mentioned good examples end of thr page
New-SystemMessage
http://technet.microsoft.com/en-us/library/aa998878.aspxRegardsChinthaka
Free Windows Admin Tool Kit Click here and download it now
June 30th, 2009 9:35pm
Hello,If I understand it correctly then you are trying to modify DSNs on your Exchange Box. This article should help you understanding all what you need..http://www.msexchange.org/articles_tutorials/exchange-server-2007/management-administration/customising-delivery-status-notification-messages.htmlMilind Naphade | MCTS:M | http://www.msexchangegeek.com
June 30th, 2009 9:42pm
I tried that, Here is the command i used: New-SystemMessage -DsnCode 5.3.4 -Text Your email is over the size limit of 15 MBs, Please try resending the email with fewer or smaller attachments. -Internal $false -Language EN But i still get this message when i send a large email: Subj: Big Email Sent: 2009-06-29 16:18 has encountered a delivery problem. Reason: Mailbox full The mailbox is full because the user has exceeded a per-mailbox administrative quota or physical capacity. Transcript of session: DATA 354 Start mail input; end with <CRLF>.<CRLF> 552 5.3.4 Message size exceeds fixed maximum message size
Free Windows Admin Tool Kit Click here and download it now
June 30th, 2009 9:55pm
HI,it should work might be you have wronf DSN codeRegards
Chinthaka
June 30th, 2009 10:09pm
HI, Can you try below cmslet it should work New-SystemMessage -QuotaMessageType "WarningMailbox" -Language EN -Text "Please try resending the email with fewer or smaller attachments" Regards
Chinthaka
Nope, Still get the same bounce back, Subj: NDR Test 2 Sent: 2009-06-30 12:53 has encountered a delivery problem. Reason: Mailbox full The mailbox is full because the user has exceeded a per-mailbox administrative quota or physical capacity. Transcript of session: DATA 354 Start mail input; end with <CRLF>.<CRLF> 552 5.3.4 Message size exceeds fixed maximum message size
Free Windows Admin Tool Kit Click here and download it now
June 30th, 2009 11:07pm
Hello, If I understand it correctly then you are trying to modify DSNs on your Exchange Box. This article should help you understanding all what you need.. http://www.msexchange.org/articles_tutorials/exchange-server-2007/management-administration/customising-delivery-status-notification-messages.html
Milind Naphade | MCTS:M | http://www.msexchangegeek.com
Im reading through this now, I will let you know if it tells me to do anything differently then ive already done.
June 30th, 2009 11:18pm
HI, sorry for the forgottenyou must restart Transport services use below CMDletsRestart-Service msexchangetransport -VerboseRegardsChinthaka
Free Windows Admin Tool Kit Click here and download it now
June 30th, 2009 11:21pm
HI, sorry for the forgotten you must restart Transport services use below CMDlets Restart-Service msexchangetransport -Verbose Regards
Chinthaka
Will that kick anyone off the server? Also i found an oddity... I decided to check the SMTP logs to make sure that it was indeed Exchange that was bouncing the message and not GMail, our SPAM Filter, Or Firewall. The messages do seem to get to our Exchange server but this is what the SMTP logs show on our SPAM Filter: 09-06-30 12:57:50 0153: < 552 5.3.4 Message size exceeds fixed maximum message size 09-06-30 12:57:50 0153: Sending DSN (type failed) 5.2.2 (Mailbox full) to xxxxxxx@gmail.com If Exchange is giving a 5.3.4 error then why is it wanting to send a 5.2.2 DSN?
July 1st, 2009 12:03am
I restarted the service and tried it again and still get the same bounce. Subj: NDR Test 6 Sent: 2009-06-30 15:50 has encountered a delivery problem. Reason: Mailbox full The mailbox is full because the user has exceeded a per-mailbox administrative quota or physical capacity. Transcript of session: DATA 354 Start mail input; end with <CRLF>.<CRLF> 552 5.3.4 Message size exceeds fixed maximum message size
Free Windows Admin Tool Kit Click here and download it now
July 1st, 2009 3:22am
I still have a need to make a custom bounce back message so any help on this would be appreciated!
July 28th, 2009 2:05am
Why not create a transport rule at the Org level? 1. org\hub transport --> Transport Rules tab 2. New Transport rule 3. select "when the size of any attachment is greater than or equal to limit" and put in 16Mb or whatever you wish... 4. Next 5. select "send bounce message to sender with enhanced status code" and type in the customized message. (the limit is 128 char.) so I suggest something like this... "Delivery not authorized, message refused. This message is larger than the current 16Mb system limit. " 6. next and finish... 7. restart the transport service
Free Windows Admin Tool Kit Click here and download it now
July 29th, 2009 2:14am