FortiGate—SMTP_Server

Reference

https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-to-configure-alert-email-settings/ta-p/194102
https://community.fortinet.com/t5/FortiGate/Technical-Tip-Default-email-server-changes-and-unable-to-send/ta-p/316811

Situation

# SDWAN切換路由的時候要寄郵件通知
Send SDWAN notification email alert for admin.

Notes

### 7.4.4版本以後預設SMTP Server改成fortinet-notifications.com

### 沒有FortiCare Support沒辦法使用fortinet-notifications.com

Solution

[1]
# 確認SMTP Server與Port
System > Settings > Email Service.

[2]
# 如果有sdwan要小心能不能走到SMTP Server
config system email-server 
> set interface-select-method sdwan(auto, specify)

TroubleShooting

# debug相關設定
diagnose debug reset
diagnose debug enable
diagnose debug console timestamp enable
diagnose debug application alertmail -1

# 測試郵件寄送
diagnose log alertmail test