顯示具有 Exchange 標籤的文章。 顯示所有文章
顯示具有 Exchange 標籤的文章。 顯示所有文章

2016年10月14日 星期五

微軟 Exchange Server 2007 升級實作兩日課程


Exchange 夥伴們~~ 

華象資訊將於 2016/10/25~26 日於台北恆逸舉辦兩日的
Exchange Server 2007 升級到 Exchange Server 2013 Workshop 課程.

若您有與趣報名此課程可以參考下列報名網頁資訊: 

微軟 Exchange Server 2007 升級實作兩日課程
http://www.accupass.com/go/E2k7toE15


2016年10月12日 星期三

Exchange Server 2013 使用者匯入相片異常

問題描述:
Exchange Server 2013 可以透過 PowerShell 指令來匯入使用者相片,指令如下:

Set-UserPhoto "Lingo Chiang" -PictureData ([System.IO.File]::ReadAllBytes("D:\lingo.jpg"))
 
大部分的使用者都可以正常匯入相片,但是只有 Lingo Chiang 帳號會出現以下錯誤訊息...
從錯誤的訊息中,似乎看不出什麼......

解決方法:
找了很久,也做了幾次交叉比對,我發是指令是對的 !!
最後發現原因是 Lingo Chiang 的信箱爆滿了 !!
把它加大了,同時 information store service 重啟之後再下這個指令就搞定了......><

經驗ㄚ~~

備註:
匯入照片錯誤訊息的部分,由於 Lingo Chiang 這個用戶的信箱在大陸的主機,所以我另外在 大陸的伺服器上執行匯入動作,所出現的錯誤訊息就比較易懂,直接告訴你 Quota 超出限制……所以才找到原因的~~^^

2016年10月11日 星期二

AP 經由 Exchange Server 2010/2013 寄信效能不佳

問題描述:
很多客戶的 AP 都會將信件直接丟到 Exchange 2010/2013 去轉寄,客戶會在伺服器端建立 Relay 的接收連接器,但是常常發現寄信的效能比以前的 Exchange Server 2003 差很多 !!

解決方式:
請在建立 Relay 的接收連接器伺服器上執行以下 PowerShell 指令即可,建議將 Exchange Transport Services 重新啟動喔 !

Set-ReceiveConnector -Identity "mail01\ap relay" -MaxAcknowledgementDelay 0 -TarpitInterval 00:00:00

2016年10月10日 星期一

Exchange 如何設定內部禁止寄送 zip 檔案

問題描述:
最近很多病毒都是透過 zip 檔案寄送,如何設定內部禁止寄送 zip 檔案

解決方式:
傳輸規則就可以做到了 ! (如下圖)

Outlook PST File 的使用建議

建議:
建議 Outlook 不要一開始就將信件收到 PST !!


微軟在 Outlook 2013 開始就已經拿掉傳送預設位置到PST的功能,這代表微軟以後不再支援此項設定.













Introduction to Outlook Data Files (.pst and .ost)
https://support.office.com/en-za/article/Introduction-to-Outlook-Data-Files-pst-and-ost-6d4197ec-1304-4b81-a17d-66d4eef30b78





You experience issues when your Exchange account uses Cached Exchange Mode and you set a .pst file as the default delivery location in Outlook
http://support.microsoft.com/zh-tw/kb/2701020/en-us



Exchange Server 2013 ECP/OWA 進不去

問題描述:
很突然的一個狀況,客戶的 Exchange Server 2013 ECP/OWA 全部連不上...服務都正常 !
重新開機還是無法解決....

解決方法:
透過 ADSI Editor,把 msExchCanaryDatax…這個值清掉,重新開機就好了

Open the ADSI editor,  go to CN=Services --> CN=Microsoft Exchange --> CN=  Right click CN=Client Access and click properties.  Scroll down to msExchCanaryData0.  Then erase the data from those settings.  Then restart all of the mailbox servers

2016年10月9日 星期日

Exchange Server 2013 無故重新開機

問題描述:
最近發現幾個案例,客戶的 Exchange Server 2013 會無故意外重新開機,在 Event Log 找到這些訊息...

Check 'Microsoft.Exchange.Monitoring.TcpListenerCheck' thrown an Exception! Exception - Microsoft.Exchange.Monitoring.ReplicationCheckHighPriorityFailedException: 高優先順序檢查 TcpListener 失敗。錯誤 伺服器 'MAIL01' Microsoft Exchange 複寫服務的 TCP 接聽程式未通過健康情況測試。此伺服器在錯誤解決前,無法參與複寫。錯誤: 與伺服器 'MAIL01' 通訊時發生錯誤。錯誤: 無法連線,因為目標電腦拒絕連線。 

原因分析:
看了很多 Event Log 以及 Exchange Log,後來發現該部 Exchange Server 有指定靜態的網域控制站(DCs),同時該部網域控制站(DCs) 日前已經降級....導致 Exchange Server ServiceHealthMSExchangeReplForceReboot 會造成停止錯誤並重新啟動 Exchange Server 2013

Exchange Server 中的網域名稱系統 (DNS) 名稱解析的原因失敗的錯誤設定的網路緩衝器

解決方法:
取消靜態指定網域控制站(DCs),同時指定正確的 DNS IP


參考文件:
http://support.microsoft.com/kb/2969070/zh-tw
檢閱下列 TechNet 文件中所提供的指導方針,並確定已適當地設定代表 MAPI 及複寫網路的網路介面卡。
http://technet.microsoft.com/en-us/library/dd638104 (v=exchg.150).aspx#NR

2016年10月8日 星期六

Exchange Server 2013 退信,Error :0x80040305-0x0004de-0x00054a with event 9646

問題描述:
Exchange Server 2013 用戶收到退信 Error :0x80040305-0x0004de-0x00054a with event 9646,User mailbox has hit session limits

解決方法:
1. On the mailbox server, click [Start], click [run], type “regedit”, and then click [OK].
2. Expand the following registry subkey:
\\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\ParametersSystem
3. Right-click [ParametersSystem], point to New, and then click Key.
4. Type “MaxObjsPerMapiSession”, and then press ENTER to name the new subkey.
5. Right-click [MaxObjsPerMapiSession], click New, and then click [DWORD] Value.
6. Type Object_type, and then press ENTER to name the object.
    In most cases, the objects “objtMessage” , “objtFolder” and “objtFolderView” would exceed the 
    limitation, so we could create three objects for all of them(Replace Object_type with    
    objtMessage, objtFolder or objtFolderView).
7. Right-click Object_type, and then click Modify.
8. In the Value data box, type the number of objects that you want to limit this entry to, and then    
   click OK. For example, type 500 to increase the value for the objtMessage object. The default    
   value is 250. The default value of “objtFolder” and “objtFolderView” are all 500.
9.Restart Information Store Services.

參考知識文件: 
A user mailbox has hit session limits
http://technet.microsoft.com/en-us/library/ff360476(v=EXCHG.140).aspx

Outlook 2003/2007/2010/2013 收信亂碼

問題描述:
這一年來常常遇到有客戶反映,Outlook,Outlook 更新版本之後,反而收到系統或有些信件會出現亂碼,而有些同仁也是同樣更新 Outlook 版本,卻不會有這個問題...

解決方法:

1. 首先要確認 Outlook 是否有安裝到最新的 Service Pack 或更新。
2. 檢查 Outlook Profile 裡面,信箱模式是否為 "Unicode" 模式,如果為 "非 Unicode" 模式,請重新設定 Outlook Profile !!

3. 很多使用者預設都將信件直接收到本磯 PST,時間久了也會造成異常,建議換一個新的
PST,或是統一將信件存放在伺服器端。

注意 : 新的版本已經不支援直接將信件收到本磯 PST,請大家統一將信件存放在伺服器端吧 !

2015年11月12日 星期四

Exchange Server 2013 無法收到 Gmail 寄來的信件

問題描述:
Exchange Server 2013 CU9,MX 記錄直接將信件導至 Exchange Server 2013,發現從 gmail 寄來的信件都無法收到 ! 從 Yahoo,Hinet....等等其他網域寄來的信進都可以正常收到。

解決方法:
由於 Exchange Server 2013 接收連接器預設啟用 TLS,將 TLS 關閉即可


2014年3月10日 星期一

Exchange Server 2010 MSExchange AuditLogSearch 4002 錯誤訊息

當你將 DB 刪除,Mount 一個空的 DB 時,Event Log 每 30 分鐘就會出現以下錯誤訊息

記錄檔名稱:         Application
來源:            MSExchange AuditLogSearch
日期:            2014/3/10 上午 08:55:44
事件識別碼:         4002
工作類別:          General
等級:            錯誤
關鍵字:           傳統
使用者:           不適用
電腦:            ex1.grandsi.com
描述:
A runtime exception occurred in AuditLogSearchServicelet's worker while processing a request. Exception:
Microsoft.Exchange.Data.Storage.ObjectNotFoundException: 提供的儲存區識別碼不是項目的識別碼。 ---> Microsoft.Mapi.MapiExceptionInvalidEntryId: MapiExceptionInvalidEntryId: Unable to open entry ID. (hr=0x80040107, ec=-2147221241)
Diagnostic context:
    Lid: 22318 
    Lid: 19246   StoreEc: 0x80040107
    Lid: 28014 
    Lid: 24942   StoreEc: 0x80040107

   Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, SafeExInterfaceHandle iUnknown, Exception innerException)
   Microsoft.Mapi.MapiStore.OpenEntry(Byte[] entryID, OpenEntryFlags flags)
   Microsoft.Exchange.Data.Storage.StoreSession.GetMapiProp(StoreObjectId id, OpenEntryFlags flags)

   --- 內部例外狀況堆疊追蹤的結尾 ---
 
解決方式:
只要將 Microsoft Exchange Service Host 服務重起就可以囉~~^^
 

2014年2月24日 星期一

Exchange Server 2010 Failed 狀態的內容索引類別目錄


首先使用以下指令來查看狀態
Get-MailboxDatabaseCopyStatus | fl name, contentindexstate

Name              : TCEX02-MDB02\TCEX02
ContentIndexState : Healthy

Name              : TCEX03-MDB02\TCEX02
ContentIndexState : Healthy

Name              : TCEX04-MDB02\TCEX02
ContentIndexState : Failed


使用以下指令修復 Index
Update-MailboxDatabaseCopy "TCEX04-MDB02\TCEX02" -CatalogOnly




2013年11月11日 星期一

Exchange Server 2010 Event ID 2501

這個錯誤訊息通常會出現在 DAG 成員的 MBS 上,雖然在 AD 站台裡已經把子網域指定好,但是該錯誤訊息還是會出現 !!
 
Event Type: Error

Event Source: MSExchange ADAccess

Event Category: General

Description:

Process MSEXCHANGEADTOPOLOGY (PID=). The site monitor API was unable to verify the site name for this Exchange computer - Call=DsctxGetContext Error code=8007077f. Make sure that Exchange server is correctly registered on the DNS server.
 
執行 nltest /dsgetsite 之後仍然會出現找不到指定 DC......錯誤訊息
 
 
發生原因:
由於 DAG 設定完成後,Cluster 會 Bind 一張 Microsoft Failover Cluster Virtual Adapter.....IP 通常會是 169.254.X.X,同時 Ping 自己時也會回應 169.254.x.x....
 
網路上大部分查到的解答是利用 nvspbind 的工具就可以解決,但是事實上問題還是無法根治 !!
 
解決方法:
加 Hosts File....格式如下:
 
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host
# localhost name resolution is handled within DNS itself.
# 127.0.0.1       localhost
# ::1             localhost
 
172.16.1.10        mbs01.lingo.com         mbs01


另一個 Solution.....使用 Regedit

WORKAROUND


To work around this issue, hardcode the Active Directory Site name in the registry. To do this, follow these steps:
  1. Click Start, click Run, type Regedit, and then press OK.
  2. Locate the following registry subkey:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters
  3. On the Edit menu, click New, and then click String Value.
  4. Type SiteName, and then press Enter.
  5. Right-click SiteName, click Modify, type the name of the Active Directory Site that the Exchange server belongs to in the Value data box, and then click OK.
  6. Exit Registry Editor, and then restart the computer to apply the change.
 
When you hardcode the Active Directory Site name, Windows will return the hardcoded site name in response to the query from Exchange. This behavior enables Exchange server to bypass any site name lookup failures.
 
 
 

2013年10月1日 星期二

Exchange Server 2010 Setup/p 錯誤

Exchange Server 2010 執行到 setup /p 時,出現以下訊息....找到多個具有網域名稱 xxx 和帳戶名稱 Administrator 的物件.....


 
原因:
 
在單一 AD 網域架構下不會產生錯誤,如果 AD 架構為多網域架構(多 Domain Tree)
就會出現這個錯誤,原因是每個網域都有 Administrator 物件...
 
 
解決方式:
建立一個獨立帳號(Lingo),加Enterprise Admin & Schema Admin group,再執行 setup /p 即可 !

Exchange Server 2010 Address Lists 更新

人員調動部門之後除了在 AD 把該用戶搬到所屬 OU 之後,還要到 Exchange 2010 管理指令介面執行以下指令,這樣會比較快生效 !!

Get-AddressList | Update-AddressList
http://technet.microsoft.com/en-us/library/aa997982.aspx


或是可以建立一個 Update-Address.cmd file, 內容如下:

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -command ". 'C:\Program Files\Microsoft\Exchange Server\V14\bin\RemoteExchange.ps1'; Connect-ExchangeServer -auto; Get-AddressList | Update-AddressList "





 再透過排程去定時執行 Update-Address.cmd 即可

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


郵件類別遺失


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.

2013年7月11日 星期四

Outlook 附件消失

症狀 : 使用 Outlook 2007/2010 收到信件時,附件只有doc 檔,jpg or pdf 附件不見了,但是由webmail 進入信箱檢視該封信的附件都有 jpg & pdf 檔,對方的寄件備份也是正常的


請參考以下微軟KB說明:


 

請參照微軟KB調整所有 Exchange 2010 伺服器上的設定

Exchange Server 2010

  1. Stop the Exchange Transport service.
  2. Locate the EdgeTransport.exe.config file. This file is located in the following path:
     :\Program Files\Microsoft\Exchange Server\Bin\
  3. In the EdgeTransport.exe.config file, add the following entry between the element and the element:
  4. Restart the Transport service.

2012年10月18日 星期四

調整 Exchange 2010 搬移信箱 Session 數量

Exchange Server 2010 搬移信箱,系統預設最多 2 個信箱同時搬移,若遇到大量信箱需要搬移時,可以參考以下作法,增加同一時間可以搬移信箱數量

編輯以下檔案
\V14\Bin\MSExchangeMailboxReplication.exe.config 

Steps:
  1. Goto MSExchangeMailboxReplication.exe.config
  2. Make a backup copy of the file in alternate location before you customize it.

  3. Edit the MSExchangeMailboxReplication.exe.config using Notepad.
  4. Edit MaxActiveMovesPerSourceMDB, This property indicates the number of mailboxes that can be moved on the source mailbox database at one time. The default value is 5 concurrent moves. Change it as per your Requirement.
 5. Edit MaxActiveMovesPerTargetMDB, This property indicates the number of mailbox moves that can be moved on the target mailbox database at one time. The default value is 5 concurrent moves.Change it as per your Requirement.
 6. Edit MaxTotalMovesPerMRS, This property indicates the number of mailboxes that can be moved by a single instance of MRS. The default value is 100 concurrent moves. Change it as per your Requirement.
 7. Edit MaxActiveMovesPerTargetServer, This property indicates the total number of moves that can occur on the target server at a given time. The default value is 5 concurrent moves.Change it as per your Requirement.
 8. Edit MaxActiveMovesPerSourceServer,This property indicates the total number of moves that can occur on the source server at a given time. The default value is 5 concurrent moves.Change it as per your Requirement.
 9. Save and close the file.
 10. Restart the Microsoft Exchange Mailbox Replication service
 11. Try to Create new Move Requests.