Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

NetWorker:如何對失敗的電子郵件通知進行故障排除

Summary: 本文討論如何針對 NetWorker 電子郵件通知的相關問題進行故障診斷。

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Instructions

症狀
不會發送策略、設備和/或用戶端擁有者的通知。
通知欄位的動作欄位中的命令正確無誤。

原因
這可能是由於備份伺服器和郵件伺服器之間缺乏通信,或者由於操作系統級別的許可權問題。

步驟
NetWorker 使用作業系統郵件命令: mailx (Linux) 和 smtpmail (Windows) 傳送標準輸出電子郵件。除了指出發送電子郵件應滿足哪些條件外,發送電子郵件幾乎不涉及 NetWorker 功能,例如:備份完成/失敗、裝置已滿等
  1. 從 NetWorker 伺服器執行下列命令 (取代 網域com 使用您的網域名稱):
Linux: 
dig +short domain.com MX
Windows
nslookup
set q=mx
domain.com
注意:如果您無法使用此方法查詢郵件伺服器,請與您的網域/郵件管理員確認郵件伺服器位址。
  1. 確定 NetWorker 伺服器可以解析郵件伺服器,並連線至簡單郵件傳輸通訊協定 (SMTP) 連接埠 (25) (將 mailserver.domain.com 更換為步驟 1 中報告的郵件伺服器):
nsrports -t mailserver.domain.com -p 25
從 NetWorker 伺服器執行作業系統郵件命令,查看電子郵件訊息是否可以傳送到 NetWorker 外部 (將 recipient@domain.com 取代為您的電子郵件地址):
Linux:
echo "test email" | mail -s "test email" recipient@domain.com
Windows:
echo "test email" | smtpmail -h mailhost_address -s "test email" recipient@domain.com 
注意:這些命令會傳送一封電子郵件,其中包含執行命令的目錄清單。這些是非 NetWorker 命令;有關詳細資訊,請參閱“郵件 此超連結會帶您前往 Dell Technologies 以外的網站。”和“SMTPMAIL 此超連結會帶您前往 Dell Technologies 以外的網站。”手冊頁。

記錄:

在 Linux NetWorker 伺服器上,檢閱下列記錄和目錄,以取得有關郵件問題的其他深入見解:
  • /var/log/maillog
一般郵件日誌檔,如果郵件已發送並接受傳遞。
  • /var/spool/mqueue
停滯在 mqueue 中的郵件不會從伺服器發送或接受。如果正在發送和傳遞電子郵件,則 mqueue 應為空。

如果 NetWorker 伺服器是 Windows,Exchange 管理員必須從 Exchange 端檢閱記錄。

結語:

無論是否可從 NetWorker 伺服器識別錯誤,網域/郵件管理員都必須檢查郵件伺服器上的記錄,以取得與通知相關的特定錯誤。從 NetWorker 伺服器的命令列成功執行 mail 命令後,請在想要的通知欄位中輸入您的作業系統郵件命令和選項。
NetWorker:如何設定原則電子郵件通知

Additional Information

 

Article Properties


Affected Product

NetWorker

Product

NetWorker

Last Published Date

15 Feb 2024

Version

5

Article Type

How To