Exchange Online中過濾特定郵件

最近給客戶做的一個Migration項目中,需要將SP2007的數據Migrate到Office365中。因爲客戶源端有很多用戶已經創建了Alert, 在我們Migration過程中,無論怎樣操作,至少會產生一封這樣的郵件:

You have successfully created an alert for 'Customer List'

Alert 'Customer List' has successfully been added on 'DocSite'.

You will receive alerts according to the delivery method, timing and criteria that were selected when the alert was created.

You can change this alert or any of your other alerts on the My Alert on this site page.

爲了使終端用戶不會爲收到這麼封郵件而困惑(對於創建了很多Alert的用戶,會收到很多封這樣的郵件)。考慮從Exchange方面過濾郵件。經過測試,可以使用Mail Flow下設置rule的方式來實現需求。

1 - 點擊加號,選擇Create a new rule.

2 - 給Rule設置一個名字,之後選擇Apply this rule if - The subject or body includes You have successfully created an alert for

Do the following - Delete the message without notifying anyone

這樣設置的原因是這種郵件的主題裏都是有You have successfully created an alert for這一行字的。

設置後,需要一點點時間讓這個Rule生效(剛剛配置之後心急測試沒生效),大概幾分鐘的時間。在之前沒創建過Alert的List中創建Alert, 我的郵箱就不再能收到郵件了。郵件應該是在服務器端直接被攔截,在已刪除郵件中也沒有看到。

測試在我創建了Alert的Library上傳新文檔,看是否能收到Alert郵件,仍然可以正常收到。符合最初的設計需求。

這樣做基本上可以滿足我的需求,不過也有不足。因爲在這個Rule生效的同時,如果有用戶在SharePoint站點創建新的Alert,第一封通知用戶“Alert創建成功”的郵件也會被錯殺...不過因爲這些郵件之間沒有辦法很好的區分,目前沒有找到更好的辦法...

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章