2013年9月30日 星期一

Exchange Server 2010 AP Relay

一般要讓 AP Server 可以 Relay,只要建立一個 "接收連接器" 開放 Relay 即可,若 AP 的語法裡面有定義了 oMailer.SetFrom("客服系統" , "lingo@grandsi.com").......會導致收件者收到信件之後,寄件者會變成 "江曉嵐",而非 "客服系統"

原因:
AP Relay 接收連接器驗證的部分一般都會勾選 "Externally Secured",這個設定預設會自動解析匿名 SMTP Address 所致 
 


  
解決方式:
1. 建立一個 Relay 接收連接器,驗證這裡全部不要勾選 
 
2. 群組權限指勾選匿名 









3. 下這個指令即可
add-ADPermission -Identity relay -User "NT Authority\anonYmous logon" -ExtendedRights ms-Exch-SMTP-Accept-Any-Recipient


AD 物件重複,無法刪除

 
在 AD 上有物件重複,也無法透過 ADUC 刪除
 
解決方法:
Use Repadmin.exe option /removelingeringobjects, which safely remove instances of lingering objects from both writable directory partitions and read-only directory partitions
Repadmin.exe provides the following
  • Compares the directory database objects on a reference domain controller with the objects on the target domain controller, which contains (or is suspected to contain) lingering objects.
  • If you use the /advisory mode parameter, events are logged in the Directory Service event log for the objects that are found.
  • If you do not use the /advisory mode parameter, the found objects are deleted without replicating the deletions; that is, the deletions occur only on the target domain controller.

郵件類別遺失


Exchange Server 2010 搭配 Outlook 2007/2010/2013,在新增工作要求或是會議邀請時,通常習慣上會加上分類
 



但是收件者在收到工作或是會議邀請時,該類別就會消失了......
 
原因:
Exchange Server 2010 預設會將類別清除
 
解決方法:
Hub Server 執行下面的Command
Set-Transportconfig  ClearCategories:$False
Restart Transport service


Exchange Server 2010 Error 9646










請在 MBS Role 設定此 Registry

To change the value of the maximum permitted MAPI sessions per user from the default, you can configure the Maximum Allowed Sessions Per User registry entry. To do this, follow these steps.

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:


1.       Click Start, click Run, type regedit in the Open box, and then click OK.

2.       Locate and then click the following registry subkey:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\ParametersSystem

3.       If the Maximum Allowed Sessions Per User entry does not exist, do the following:

a.       On the Edit menu, point to New, and then click DWORD Value.

b.       Type Maximum Allowed Sessions Per User as the entry name, and then press ENTER.

4.       Right-click the Maximum Allowed Sessions Per User entry, and then click Modify.

5.       Click Decimal, type the value that you want to set in the Value data box, and then click OK

6.       Exit Registry Editor.

7.       Click Start, click Run, type services.msc in the Open box, and then click OK.

8.       Click the MSExchange Information Store service, and then click Restart Service.