locked
recipient restriction RRS feed

  • Question

  • Exchange Setup : We are using exchange 2003 SP2 with frontend and Backend server concept.

     

    Issue Description : We would need to restricting the email recipient limit in the exchange server to 20 recipient. This clause will restrict all external domain users from sending mails to more than the threshold of “x” number of recipients to our domain.

     

    Analysis Done : Upon analysis, we observed that that for gmail domain, it sent mail using one SMTP session and mails got bounced due to the restriction set and it works perfectly as per our requirement. Whereas, in Yahoo and Rediff domain we have noticed, it opens one SMTP session for each recipient of the same mail. If users mark same mail to five email IDs,  it will be triggered using 5 SMTP sessions hence the mails getting delivered from these domains. Pls refer the below log for more clarity.

    Mail sent from Gmail Domain where the mail with multiple recipients is sent in a single SMTP session:
    014-07-26 12:11:57 10.x.x.x test-co-in.outgoing.xxxx.in SMTPSVC1 TEST-FEMAIL 10.x.x.x 0 MAIL - +FROM:padmasaral.gmail.com 250 0 45 42 0 SMTP
    2014-07-26 12:11:57 10.x.x.x test-co-in.outgoing.xxxx.in SMTPSVC1 TEST-FEMAIL 10.x.x.x 0 RCPT - +TO:<aravindr.test.co.in> 250 0 31 60 0 SMTP
    2014-07-26 12:11:57 10.x.x.x test-co-in.outgoing.xxxx.in SMTPSVC1 TEST-FEMAIL 10.x.x.x 0 RCPT - +TO:<faizalalima.test.co.in> 250 0 34 66 0 SMTP

     

    Mail sent from Yahoo Domain where the mail with multiple recipients is sent in multiple SMTP sessions
    2014-07-26 13:26:21 10.x.x.x  test-co-in.outgoing.xxxx.in SMTPSVC1 TEST-FEMAIL 10.x.x.x 0 MAIL - +FROM:<padmasaral.yahoo.com> 250 0 45 42 0 SMTP
    2014-07-26 13:26:21 10.x.x.x  test-co-in.outgoing.xxxx.in SMTPSVC1 TEST-FEMAIL 10.x.x.x 0 RCPT - +TO:<liyaskhanh.test.co.in> 250 0 33 64 0 SMTP
    2014-07-26 13:26:21 10.x.x.x  test-co-in.outgoing.xxxx.in SMTPSVC1 TEST-FEMAIL 10.x.x.x 0 EHLO - +test-co-in.outgoing.xxxx.in 250 0 311 35 0 SMTP
    2014-07-26 13:26:21 10.x.x.x  test-co-in.outgoing.xxxx.in SMTPSVC1 TEST-FEMAIL 10.x.x.x 0 MAIL - +FROM:<padmasaral.yahoo.com> 250 0 45 42 0 SMTP
    2014-07-26 13:26:21 10.x.x.x  test-co-in.outgoing.xxxx.in SMTPSVC1 TEST-FEMAIL 10.x.x.x 0 RCPT - +TO:<vimalanathanj.test.co.in> 250 0 36 70 0 SMTP

     

    Mail sent from Rediff Domain where the mail with multiple recipients is sent in multiple SMTP sessions
    2014-07-26 12:31:50 10.x.x.x  test-co-in.outgoing.xxxx.in SMTPSVC1 TEST-FEMAIL 10.x.x.x  0 MAIL - +FROM:<padma_saral.rediffmail.com> 250 0 51 48 0 SMTP
    2014-07-26 12:31:50 10.x.x.x  test-co-in.outgoing.xxxx.in SMTPSVC1 TEST-FEMAIL 10.x.x.x  0 RCPT - +TO:<liyaskhanh.test.co.in> 250 0 33 64 0 SMTP
    2014-07-26 12:31:50 10.x.x.x  test-co-in.outgoing.xxxx.in SMTPSVC1 TEST-FEMAIL 10.x.x.x  0 MAIL - +FROM:<padma_saral.rediffmail.com> 250 0 51 48 0 SMTP
    2014-07-26 12:31:50 10.x.x.x  test-co-in.outgoing.xxxx.in SMTPSVC1 TEST-FEMAIL 10.x.x.x  0 RCPT - +TO:<manikandanp.test.co.in> 250 0 34 66 0 SMTP
    2014-07-26 12:31:50 10.x.x.x  test-co-in.outgoing.xxxx.in SMTPSVC1 TEST-FEMAIL 10.x.x.x  0 MAIL - +FROM:<padma_saral.rediffmail.com> 250 0 51 48 0 SMTP

    Solution required : Hence need a solution to restricting all external domain users from sending mails to more than the threshold of 20 number of recipients to our domain.


    • Edited by Rameyz Tuesday, September 2, 2014 7:44 AM
    Tuesday, September 2, 2014 7:29 AM

Answers

  • I'm not sure what you're asking for. Are you trying to impose a quota on the number of recipients any sender can address for some period of time (say, in an hour or a day)? Or are you trying to limit the number of RCPT TO commands in a single message?

    Given the examples you've provided, there's no way to limit the number of MESSAGES sent by sender. That would seem to be a quota or policy imposed on a sender, not on a message. Other MTAs allow you to impose quotas, but what if one sender was to send thousands of messages to only a very small set of addresses? Would you limit that, or just that no sender would ever be allowed to send to more than 20 recipients each hour (or day)?

    You really have no control over how the sending MTA determines how to send e-mail. The ones you cite seem to send multiple messages (i.e., they'd each have a unique Message-ID) even though it was sent (by the client) as a single message to multiple recipients.


    --- Rich Matheisen MCSE&I, Exchange MVP

    • Marked as answer by Amy.Wang Tuesday, September 16, 2014 7:51 AM
    Friday, September 5, 2014 4:57 PM

All replies

  • Hi,

    Exchange 2003 is an old Exchange version, we have not supported for Exchange 2003. I recommend you upgrade your server to Exchange 2010 SP3.Thanks for your understanding.

    Best regards,


    Amy Wang
    TechNet Community Support

    Wednesday, September 3, 2014 2:08 AM
  • Hi Amy,

    Thanks for your reply, however this issue is not related to Exchange server version. Even if we have 2010 or the latest version we will still face this issue.

    Please note : We were able to restrict the recipient limit to all external domains using Exchange 2003 itself. However, as stated earlier when we receive mails from Yahoo ID or Rediff ID it is not restricting because it delivers with multiple recipient with multiple SMTP session.

    Refer the sample example for understanding purpose.

    We have set the global setting to 3 recipients in exchange server, in this scenario 

    If we send a single mail from gmail (External gmail User1) with multiple (3) recipient its getting blocked due to the below scenario.

    From : External gmail USer1
    To   : Internal domain User 1
    To   : Internal domain User 2
    To   : Internal domain User 3

    whereas, If we send a single mail from yahoo (External yahoo User1) with multiple (3) recipient it gets delivers in below scenario.
     
    From : External yahoo USer1
    To   : Internal domain User 1
    From : External yahoo USer1
    To   : Internal domain User 2
    From : External yahoo USer1
    To   : Internal domain User 3

    This is the pattern in which yahoo and rediff mails are getting delivered, even you can testing by enabling the SMTP log and you can send a mail from gmail, yahoo and rediff. It will get delivered in the above method.

    Hence, we are looking for a solution to restrict the mail from yahoo or rediff if it exceeds the "x" limit. Hope this clarifies, hence need help on this.

    Wednesday, September 3, 2014 9:57 AM
  • I'm not sure what you're asking for. Are you trying to impose a quota on the number of recipients any sender can address for some period of time (say, in an hour or a day)? Or are you trying to limit the number of RCPT TO commands in a single message?

    Given the examples you've provided, there's no way to limit the number of MESSAGES sent by sender. That would seem to be a quota or policy imposed on a sender, not on a message. Other MTAs allow you to impose quotas, but what if one sender was to send thousands of messages to only a very small set of addresses? Would you limit that, or just that no sender would ever be allowed to send to more than 20 recipients each hour (or day)?

    You really have no control over how the sending MTA determines how to send e-mail. The ones you cite seem to send multiple messages (i.e., they'd each have a unique Message-ID) even though it was sent (by the client) as a single message to multiple recipients.


    --- Rich Matheisen MCSE&I, Exchange MVP

    • Marked as answer by Amy.Wang Tuesday, September 16, 2014 7:51 AM
    Friday, September 5, 2014 4:57 PM