Exchange Server TechCenter > Exchange Server Forums > Transport > Cant make DSN without attachments, help!!
Ask a questionAsk a question
 

Proposed AnswerCant make DSN without attachments, help!!

  • Friday, October 30, 2009 9:13 PMVarmont Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    configured my Exchange 2007  settings

    [PS] C:\>Get-TransportServer -Identity SERVERNAME | fl *attach*

    ExternalDsnMaxMessageAttachSize : 0B
    InternalDsnMaxMessageAttachSize : 0B

    DSN message bouncing from "Microsoft Exchange" All working good 

    DSN message bouncing from Postmaster" (external mail server) the message are sent back including the full message with attachment

    how can i stop the external DSN massage to include the full message with the attachment in it ?

    Thanks for your help

    exped

All Replies

  • Saturday, October 31, 2009 10:51 AMRajnish R Sharma Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,

    Not sure if this is the resolution , how ever this will help you out http://technet.microsoft.com/en-us/library/aa998037.aspx
    Raj
  • Saturday, October 31, 2009 2:01 PMAndyD_MVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Proposed Answer
    Ah, I think the issue there is that ExternalDsnMaxMessageAttachSize is referring to the DSNs Exchange generates in response to external senders, not Exchange's ability to strip attachments in DSNs that are created by external servers.
  • Sunday, November 01, 2009 5:04 PMVarmont Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thank you for your response

    i can see the external DSNs error are generate by my exchange 2007 DSNs format

    im trying to strip the attachment bouncing back to my server, from external mail servers

    is there any way Exchange 2007 to remove the attachments in DSNs bounced back to my server that are created by external servers

    Thanks

  • Sunday, November 01, 2009 6:20 PMRajnish R Sharma Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Can you try this.

    Use the Set-TransportServer cmdlet with the -ExternalDsnMaxMessageAttachSize and -InternalDsnMaxMessageAttachSize parameters.  A value of 0 effectively disables all attachments from NDRs.


    Raj
  • Monday, November 02, 2009 3:06 AMVarmont Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    i just  did it

    [PS] C:\>Get-TransportServer -Identity SERVERNAME | fl *attach*

    ExternalDsnMaxMessageAttachSize : 0B
    InternalDsnMaxMessageAttachSize : 0B

     

    and im still getting the attachments in DSNs bounced back full message from user@externaldomain.com servers

  • Monday, November 02, 2009 5:21 AMRajnish R Sharma Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Not sure if this registry key chnage stilll holds good http://searchexchange.techtarget.com/tip/0,289483,sid43_gci1130800,00.html

    Also this can do the filtering of the attachments based on the size you define http://msmvps.com/blogs/erikr/archive/2005/01/02/29362.aspx

    http://technet.microsoft.com/en-us/library/aa997139.aspx

    Make sure to back up the registry.
    Raj
  • Monday, November 02, 2009 6:00 AMMike ShenMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,

    As Andy explained, the configuration applied to the DSN message which generated by the Exchange Server. For DSN message generated by external email server, I am afriad that Exchange does not have an option to remove the attechments.

    Thanks,
    Mike

  • Monday, November 02, 2009 12:29 PMSaaN - ExAdmin Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Is this happening for all messages or is it happening for , only if the sender is using older version of outlook?

    KB 894795 says that if Outlook 2003 is below SP2 i doesn't read: PR_PROHIBIT_SEND_QUOTA and the PR_MAX_SUBMIT_MESSAGE_SIZE MAPI properties and therefore oversized message are submitted to store.

    They are dropped at Categorizer level, where NDR is generated.

    However NDR will include original message attached.

     Microsoft claims that there is no hotfix for Exchange 2007 to avoid that. Client version needs to be updated to prevent this issue from reoccuring.    
  • Monday, November 02, 2009 6:10 PMVarmont Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thank you all for the suggestion

    i guess i just missed this:

    we are running Exchange 2007 sp2 installed on windows 2008 standard sp2 server 64 bit


    i couldn't fine the registry key for changing it on my server, the KB 894795 referd to Exchange 2003, which is not referring to our server