我们有交流会2010。比如说,我试图禁止用户在内部分发组中包含大型附件。我制定了一项运输规则,其内容如下:
Apply rule to messages
from users that are 'Inside the organization'
and when any of the recipients in the To or CC fields is
'internal-list@contoso.com'
and when the size of any attachment is greater than or equal to
'10 KB (10,240 bytes)'
send 'No attachment for you!' to sender with '5.7.999'
except when the Subject field or message body contains 'allow-attachment'
当此规则被触发时,用户获得的结果列出通讯组列表的每个成员。它首先列出增强的DSN文本,然后在下面列出自定义消息。例如,如果abby、bashir和caroline是邮件列表中的成员,Exchange将生成如下所示的回弹:
abby@contoso.com
Your message wasn't delivered because the recipient's e-mail provider rejected it.
bashir@contoso.com
Your message wasn't delivered because the recipient's e-mail provider rejected it.
caroline@contoso.com
Your message wasn't delivered because the recipient's e-mail provider rejected it.
Diagnostic information for administrators:
Generating server: mail.contoso.com
abby@contoso.com
#550 5.7.999 No attachment for you! ##
bashir@contoso.com
#550 5.7.999 No attachment for you! ##
caroline@contoso.com
#550 5.7.999 No attachment for you! ##
问题是在最终用户接收到的消息中,通讯组‘is list@conto-.com’被扩展。我想要回弹以消除多余的信息,更像是:
internal-list@contoso.com
Your message wasn't delivered because the recipient's e-mail provider rejected it.
Diagnostic information for administrators:
Generating server: mail.contoso.com
internal-list@contoso.com
#550 5.7.999 No attachment for you! ##
但我不知道如何做到这一点(或者产生一些更简单的东西,只为用户提供附件方面的建议)。我试过改变条件
and when any of the recipients in the To or CC fields is
'internal-list@contoso.com'
对于应该匹配内部列表的其他各种标准(例如,匹配电子邮件中的" to“标题),但我没有找到任何可行的方法。我想我不明白为什么我可以创建适用于未展开的通讯组列表的规则,但该规则似乎是在展开通讯组之后应用的。
你知道我怎么才能按这个规则做个简单的回弹吗?还是有不同的解决方案不涉及运输规则?
发布于 2014-11-13 13:02:37
这是我讨厌的解决方案。它涉及三条传输规则:第一条将消息分类为超出限制,并设置两种标志:向电子邮件中添加一个看门狗帐户和设置一个标头。第二条规则适用于发送到看门狗帐户的消息:它发送DSN。第三条规则查找标题并删除消息,这样最终的收件人就不会收到它。
这有点难看,但这意味着我不需要更改电子邮件列表的结构,也不必将任意的服务帐户添加到分发列表中,它们也可以作为安全组使用。如果我想包含更多的邮件列表,我可以修改第一条规则。
以下是详细的规则:
第01条:
Apply rule to messages
from users that are 'inside the organization'
and when any of the recipients in the To or CC fields is
'internal-list@contoso.com'
and when the size of any attachment is greater than or equal to
'10KB (10,240 bytes)'
Set 'X-Contoso-DropMessage' with 'Yes'
and add a recipient to the To field 'watchdog@contoso.com'
except when the subject field or message body contains
'allow-attachment'
第02条:
Apply rule to messages
from users that are 'inside the organization'
and when a recipient's address contains 'watchdog@contoso.com'
send 'No attachment for you!' to sender with '5.7.999'
第03条
Apply rule to messages
when the 'X-Contoso-DropMessage' contains 'Yes'
Delete the message without notifying anyone
我陷入困境的一个地方是把收信人设置为“内部列表@conto-.com”。为此,我必须将此规则的地址设置为“外部地址”,因为条件“人员”只选择Exchange管理控制台中的单个帐户。但是,使用外部地址可以在其中键入通讯组名称。
如果不是很明显,除非我打算设置DSN,否则看门狗帐户永远不会收到邮件。因此,监督机构不应成为这些分销集团的成员。
此外,我为看门狗帐户设置了一个OWA规则,以删除它接收到的所有消息,但我认为这是不必要的。
发布于 2014-10-28 05:24:56
我能想到的唯一办法是让你在这里得到你想要的是使用一个中间帐户,因为分配列表将完全按照你所描述的那样工作。
我的意思是,设置一个名为“内部列表”的邮箱,并将您的发行版列表更改为“地区内部列表”,并将该发行版列表隐藏在地址簿中。给“内部列表”邮箱区域列表当前具有的SMTP地址,并在传输规则中使用该地址。
然后将内部列表设置为始终将电子邮件转发到发行版列表。
这会给你想要的效果。
但是,接下来您必须处理两件事:
所有这些said...if --有一种编程方式--我不知道它是什么,is...but,我在过去见过一些使用Exchange从第三方那里做的疯狂事情。也许有人可以像你所需要的那样创建一个定制的DSN,但这是快速而容易的。
https://serverfault.com/questions/640193
复制相似问题