Recipe 5.24. Limiting the Number of Recipients to Which Messages Can Be SentProblemYou want to control the number of recipients to which a single message can be sent. SolutionUsing a graphical user interfaceTo set the maximum recipient count globally, do the following:
To set it on a per-server basis, do the following:
Using a command-line interfaceSave the following LDF file and run the command ldifde -i -f <filename>.ldf: # ---------------- limit-recips.ldf ------------------ dn: CN=Message Delivery,CN=Global Settings,CN=<yourOrgName>,CN=Microsoft Exchange, CN=Services,CN=Configuration, <ForestRootDN> changetype: modify replace: msExchRecipLimit msExchRecipLimit: 100 Using VBScript' This code sets a cap on the number of recipients allowed ' on a single message ' ------ SCRIPT CONFIGURATION ------ strMessageDeliveryDN = "cn=message delivery,cn=global settings," & _ "cn=<orgName>,cn=microsoft exchange,cn=services," & _ "cn=configuration, <ForestRootDN>" ' ------ END CONFIGURATION ------ set objMessageLimit = Getobject("LDAP://" & strMessageDeliveryDN) objMessageLimit.Put "msExchRecipLimit", "100" objMessageLimit.SetInfo WScript.Echo "Set recipient limit on " & strMessageDeliveryDN & " to 100" DiscussionLimiting the number of recipients that can be included in one message can help prevent the spread of viruses by SMTP. We chose to set the recipient limit to 100 per message, but we're not working in an organization where messages are sent to hundreds of recipients at once. While limiting the number of recipients a message can be sent to is a good thing, you should ensure you're not preventing your users from doing business efficiently. See AlsoRecipe 4.10 for more on setting default send and receive limits; MS KB 821881 (How to Modify Global Settings in Exchange System Manager) and MS KB 319356 (How to prevent unsolicited commercial email in Exchange 2000 Server) |