Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Notify External Senders of Delivery Failure due to attachment size in SBS 2003

Posted on 2010-09-09
Medium Priority
Last Modified: 2012-05-10
I have been having trouble finding the exact answer to this question.  Here is the situation.  The company I manage routinely receives large attachments from clients.  Our default max file attachment and message size is set to 10 MB.  This is something that I do not want to change however when a
message is sent to us by our clients and fails to make it to its intended recipient due to exceeding
this size limit no one is notified.  The message simply fails and neither us nor the client knows that
it did not come through.

I am currently running SBS 2003 Premium with Exchange 2003.  I am thinking that it has something'
to do with enabling custom NDR's for the status codes 5.2.x but I can not seem to find a guide for
doing exactly what I want which is when a message is sent from someone outside of our domain
I need both that sender and possibly the recipient to be notified that the message failed due to
attachment size limits.  Any input or even pointing me to a KB article from MS would be greatly
Question by:Prolumina
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
  • 2
  • +1
LVL 32

Expert Comment

ID: 33640052
5.2.4 is the size error code

Author Comment

ID: 33640106
Okay I found a list of errors on the MS KB located here: interestingly enough they do not list 5.2.4 as one fo the delivery erros.  With this info how exactly should I proceed.  I am somewhat lost as I know this is something that is possible to do I just do not know how to ask the right question.  I need to notify these people now should I be searching for how to create a custom NDR for exchange 2003 or am I missing something here,
LVL 15

Accepted Solution

Dave_AND earned 1000 total points
ID: 33640132
If you go in to the Default SMTP Server settings and go to the messages tab, send a copy of NDRs to an email address (some temp mailbox) Then create a rule on that mailbox to look for 5.2.4 within a body of the email and forward it on to a user. You cannot send the  NDR to the user, but you can at least see whats being bounced.

This isnt a tested way, its just a thought I have had.. let me know if it works :)
Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.


Author Comment

ID: 33640151
I am going to test it right now thanks!
LVL 32

Expert Comment

ID: 33640174
go into system manager and browse down to your server and expand protocols, smtp and view the properties of hte default smtp virtual server
go to the messages tab and configure the "Send copy on non-delivery report to"

Author Comment

ID: 33640913
Sorry exchange is still new territory.  I have it sent up to forward the NDR's to a specific address but how would I go about setting up the rule.  I have found ways to do it in exchange 2007 but that is totally unhelpful as Exchange 2003 has a very different interface and does not provide the same options
LVL 32

Expert Comment

ID: 33640955
you need to connect to the amilbox used for the ndrs in outlook
then go into rules and alerts
create a new rule when messages arrive
looking for 5.2.4 in the message body
forward to recipient
LVL 28

Expert Comment

ID: 33641187
Go here on your SBS

start > run > regedit

Go here
Value: RenderDSNsAsMessages
Value Data: 1

check if value data is set to 1
If not - then change that -
Preserves Custom NDR messages.

Exchange 2003 doesnt allow you to customize DSN messages like 2007, so the workable solution is endital's post above > forward NDR's to a mailbox and have a server side rule which emails out
LVL 15

Expert Comment

ID: 33641743
You can set the rule up in outlook or outlook web acess. Just go in to options in owa or rules and alerts in outlook client

Author Comment

ID: 33641898
So here is where I am with the whole charade.  I have got it to atleast send out a failure message to the user however it is the standard 5.2.3 NDR report.  I setup up rules in outlook for the server to respond with a message stating basically the attachment was too big and to contact IT and I setup rules for it to forward to IT.  Neither of these is occuring.  I guess this is an issue with how I setup the rules but I keep looking at them and they are setup up correctly in my mind.  Any thoughts on this.  The other thing I noticed is that the original sender of the message is not included in the forwarded message I receive in the account i setup to receive NDR's.  
LVL 32

Expert Comment

ID: 33645347
i think you need to find out why the ndr is not going to the sender
in system manager go to the global setting and internet message formats
go to properties for default *
go to the advanced tab
is the allow non-delivery reports enabled?

Author Comment

ID: 33646973
I inherited a mess when I stepped into this company and have been playing catch up.  What is very strange is that NDR have been enabled but they never once came through until I set it to forward to a specific address.  For some reason though the NDR's that are coming through seem to be stripped of the senders address.  

Author Closing Comment

ID: 33803001
Thanks for the help this was what got me my ultimate solution

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you troubleshoot Outlook for clients, you may want to know a bit more about the OST file before doing your next job. IMAP can cause a lot of drama if removed in the accounts without backing up.
Want to know how to use Exchange Server Eseutil command? Go through this article as it gives you the know-how.
how to add IIS SMTP to handle application/Scanner relays into office 365.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit If you want to manage em…

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question