1.首先設定Fortigate的SMTP
config system email-server
set reply-to {Sender_email_address}
set server {SMTP_server_FQDN/IP}
set port {SMTP_server_port_number}
set authenticate {enable | disable}
set username {username}
set password {password_string}
set security {none | starttls | smtps}
end
2.設定使用者啟用二階段驗證,以及驗證碼寄到哪個信箱。
這個設定只能使用CLI,GUI畫面只有Fortitoken cloud與Fortitoken選項
config user local
edit {username}
set type password
set two-factor email
set email-to {user_email_address}
set passwd {password}
next
end
config system admin
edit "admin"
set type password
set two-factor email
set email-to user_email_address
set passwd password
next
end
參考官方KB: