# config user local
edit "test"
set type password
set two-factor email <---------- set 2FA to email
set email-to "kuba@fibble-kvm04.fortilab.net" <---------- user email id
set passwd-time 2019-08-27 10:03:35
set passwd ENC EavlDNhUGxHOih5r00YAVRg2bcEb3pHM5GSmSJPfQ==
next
# diagnose debug application alertmail -1 |
Debug messages will be on for 30 minutes. |
|----> debug command
# diagnose debug enable |
# Arrived msg(type 6, 93 bytes):kuba@fibble-kvm04.fortilab.net
AuthCode: 367809
Your authentication token code is 367809.
mail_info: |
from:10.188.3.218 user:kuba@fibble-kvm04.fortilab.net |
mail_info: |------> email info
reverse path:kuba@fibble-kvm04.fortilab.net |
user name:kuba |
to[0]:kuba@fibble-kvm.fortilab.net |
<==_init_mail_info
create session
resolve 10.188.3.218 to 1 IP ---------------> SMTP server
==> send mail
connecting to 10.188.3.218 port 25
send mail 0xaf35c90 session 0xb04ed70
session: 0xb04ed70, rsp_state: greeting, code: 220
session: 0xb04ed70, rsp_state: ehlo, code 250
session: 0xb04ed70, rsp_state: mail, code: 250
session: 0xb04ed70, rsp_state: rcpt, code:250
session: 0xb04ed70, rsp_state: data, code: 354
=== send: Your authentication token code is 367809. --------> Token sent
session: 0xb04ed70, rsp_state: data2, code: 250
session: 0xb04ed70, rsp_state: quit, code: 221
session finished
_session_on_destroy
<== send mail success, m = 0xaf35c90 s = 0xb04ed70
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.