5、接下来的“Internet Address Space Properties”对话框中,E-mail Domain的值保留为"*",这确保SMTP Connector能发送邮件到任何SMTP域。
[img]file:///C:/Documents%20and%20Settings/Administrator/Local%20Settings/Temp/CyberArticle/7_files/20031031204416[1].gif[/img]
我们现在来限制已经建立的 No Intenert Mail 组不能发送邮件到Internet。
6、选择Delivery Restrictions选项卡,增加 No Intenert Mail 组到Reject messages from列表,如下图所示:
[img]file:///C:/Documents%20and%20Settings/Administrator/Local%20Settings/Temp/CyberArticle/7_files/2003103120457[1].gif[/img]
7、点击确定退出Default SMTP Connector属性框。
如此设置后,当在No Intenert Mail 组里的某个用户试图发送邮件到Internet时,将反馈如下信息:
Your message did not reach some or all of the intended recipients.[/center]
Subject:
Sent: 18/10/2003 10:29 PM
The following recipient(s) could not be reached:
'test@yupai.net' on 18/10/2003 10:29 PM
You do not have permission to send to this recipient. For assistance,
contact your system administrator.
所以,如果我们要限制某个用户发送邮件到Internet,只需要把该用户放到No Intenert Mail 组里即可。
现在我们来看看怎样限制用户从Internet接收邮件,这种限制的设定比限制用户将邮件发送到Internet的设定要复杂些。
我们将继续以已创建的No Intenert Mail 组来操作。
当你创建一个基于组成员的收件人策略时,收件人策略筛选器要求写入组成员的Distinguished Name(DN)属性值。所以我们首先要知道组成员 No Intenert Mail 的DN属性值。
我们可以使用ADSIEDIT工具来获的组成员 No Intenert Mail 的DN,ADSIEDIT工具是Windows 2000 支持工具集里的其中一个工具,能在Windows 2000 安装CD盘的SUPPORT\TOOLS目录里找到。
注意:请小心使用 ADSIEDIT ,稍有不慎,将会带来严重的灾难。
1、 打开ADSIEDIT。
2、找到 No Intenert Mail 所在的组织单元,在本例中,它是在Users单元里,如下图所示:
图片如下:
[img]file:///C:/Documents%20and%20Settings/Administrator/Local%20Settings/Temp/CyberArticle/7_files/2003103120474[1].gif[/img]
3、在右边的列表中找到 CN=No Intenert Mail 的组,右击选择属性。
4、在属性框,从Select a property to view下拉列表中选择distinguishedName,在value(s)字段显示的就是组成员No Intenert Mail 的DN属性值。
5、记下value(s)字段显示的No Intenert Mail 的DN值。
6、关闭ADSIEDIT
现在,我们准备创建基于组成员的接收人策略,这个策略将提供虚假的SMTP地址给No Intenert Mail 组里的所有用户。
1、打开Exchange System Manager(ESM)。
2、找到Recipient -〉Recipient Policy。
[img]file:///C:/Documents%20and%20Settings/Administrator/Local%20Settings/Temp/CyberArticle/7_files/2003103120483[1].gif[/img]
3、选中Recipient Policies ,右击选择新建-〉 Recipient Policy...
4、在New Policy对话框里仅选择E-Mail Addresses复选框。
5、命名你的策略名,在本例我们命名为 No Intenert Mail policy。
6、现在来指定筛选条件,要仅应用策略给属于No Intenert Mail 组的用户成员,我们点击“Modify”按钮做以下操作:
7、在弹出的“查找Exchange Recipients”对话框的General选项卡里,清除所有的复选框,除了Users with Exchange Mailboxes保持选择。
[img=494,323]file:///C:/Documents%20and%20Settings/Administrator/Local%20Settings/Temp/CyberArticle/7_files/20031031204841[1].gif[/img]
8、选择“高级”选项卡,点击“字段”按钮,选择用户-〉组成员。
此主题相关图片如下:
[img=476,342]file:///C:/Documents%20and%20Settings/Administrator/Local%20Settings/Temp/CyberArticle/7_files/20031031204945[1].gif[/img]
9、在“条件”下拉列表,选择为(完全一致) 。
10、在“值”字段里,填写之前通过ADSIEDIT获得的No Intenert Mail 组的DN,点击“添加”按钮。
[img]file:///C:/Documents%20and%20Settings/Administrator/Local%20Settings/Temp/CyberArticle/7_files/20031031205146[1].gif[/img]
18、点击确定退出Recipient Policy框,你将被提示应用这个新建的策略,点击是。
我建议你现在强制应用新建的收件人策略,右击新建的策略,选择“Apply this policy now...”。
如果在创建新收件人策略之前,No Intenert Mail 组里已经有用户,这些用户将仍然有一个有效的SMTP地址,
[img]file:///C:/Documents%20and%20Settings/Administrator/Local%20Settings/Temp/CyberArticle/7_files/20031031205310[1].gif[/img]
所以在Active Directory Users and Computers,选择你希望不接收来自Internet邮件的用户,移除他们在创建策略之前就有了的SMTP地址。在创建策略后新建并且立即放入
No Intenert Mail 组里的用户,不会产生有效的SMTP地址。
---------------
附件:
一.请注意执行以下个修注册表操作:
1.Start Registry Editor (Regedt32.exe).
2.Locate and click the following registry key:
HKEY_LOCAL_MACHINE/System/CurrentControlSet/Services/Resvc/Parameters/
3.On the Edit menu, click Add value, and then add the following registry value:
value Name: CheckConnectorRestrictions
Data Type: REG_DWORD
Radix: Hexadecimal
value: 1
4.Quit Registry Editor.
5.Restart the Microsoft Exchange Routing Engine service and the Simple
Mail Transfer Protocol (SMTP) services for this change
二.本文英文原版请看: http://www.msexchange.org/tutorials/MF009.html
,作者: renzhestl 时间: 2006-12-14 16:42
感谢,很详细的哦作者: lijunming 时间: 2006-12-14 17:21
好麻烦啊...作者: 钉子 时间: 2006-12-14 18:43 限制Exchange用户从Internet收发邮件