none
Message notification to user if email received is larger than email size limit

    Dotaz

  • To all,

    We are using Exchange 2007 SP2 for the email server, and Outlook 2007 for user clients.

    Currently we set users email size limit to 5MB (not mailbox size limit). If the user receives any email larger than 5MB , the email is rejected , and by default Exchange will send NDR to sender ( no notification is sent to receiver in Exchange 2007).

    Is there any way to set the Exchange to send notification to receiver as well , for this situation?

    29. února 2012 1:28

Odpovědi

  • It's possible, but there's nothing built in, and what your options are will depend on where you have the limits set. 

    Basically you'll have to run a process on a fairly frequent schedule to parse the logs, find the failure events, and generate an an email to the intended recipient about it.  If the email was rejected for being over the maximum email size configured on the receive connector, then the only place there will be a record of it will be that connectors smtp protocol logs.

    If you're accepting the email there, but it's getting bounced because it's over the mailbox's configured size limit, you'll be able to get it from the message tracking logs.


    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

    29. února 2012 1:39
  • Hi htci2,

    You sat the email size limit on send connector or under transport settings?

    Maybe you can write PowerShell script to (check total-bytes) in message tracking log , when it over the size limit, send message notification to users.

    Thanks,

    Evan


    Evan Liu

    TechNet Community Support

    2. března 2012 10:16
    Moderátor

Všechny reakce

  • It's possible, but there's nothing built in, and what your options are will depend on where you have the limits set. 

    Basically you'll have to run a process on a fairly frequent schedule to parse the logs, find the failure events, and generate an an email to the intended recipient about it.  If the email was rejected for being over the maximum email size configured on the receive connector, then the only place there will be a record of it will be that connectors smtp protocol logs.

    If you're accepting the email there, but it's getting bounced because it's over the mailbox's configured size limit, you'll be able to get it from the message tracking logs.


    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

    29. února 2012 1:39
  • To mjolinor,

    If I can get the notification by running a process periodically to parse the logs, it may be OK.

    How to do this ? Script based?

    29. února 2012 2:08
  • I'd use a Powershell script, but that's what I'm familiar with.  If it's from the message tracking logs Powershell is going to be the easist method to access those logs, and it's easily capable of parsing out the neceessary information from those, or the protocol logs and sending the emails.

    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

    29. února 2012 3:02
  • Hi htci2,

    You sat the email size limit on send connector or under transport settings?

    Maybe you can write PowerShell script to (check total-bytes) in message tracking log , when it over the size limit, send message notification to users.

    Thanks,

    Evan


    Evan Liu

    TechNet Community Support

    2. března 2012 10:16
    Moderátor