Hi
I have configured email setting on fortigate and created a snitch,Trigger and action for sending admin login failure to my gmail account but it does not work. here is my configuration:
config system email-server
set type custom
set reply-to "itcuoka@gmail.com"
set server "smtp.gmail.com"
set port 587
set source-ip 0.0.0.0
set source-ip6 ::
set authenticate enable
set validate-server disable
set username "itcuoka@gmail.com"
set password ENC KMGGpKG6YFSg3M3v4JuNq+4ugOkNNAjuqgdy53MmtXDIRpBDkwnR98Rpjkaig==
set security starttls
set ssl-min-proto-version default
set interface-select-method auto
end
config system automation-action
edit "Email_Tupa"
set description ''
set action-type email
set forticare-email disable
set email-to "terfi@gmail.com"
set email-from ''
set email-subject "Fortigate Alerts"
set minimum-interval 0
set message "%%log%%"
set replacement-message disable
next
end
config alertemail setting
set username "itcuoka@gmail.com"
set mailto1 ''
set mailto2 ''
set mailto3 ''
set filter-mode category
set email-interval 5
set IPS-logs disable
set firewall-authentication-failure-logs disable
set IPsec-errors-logs disable
set PPP-errors-logs disable
set sslvpn-authentication-errors-logs disable
set antivirus-logs disable
set webfilter-logs disable
set configuration-changes-logs disable
set violation-traffic-logs disable
set admin-login-logs disable
set FSSO-disconnect-logs disable
set ssh-logs disable
end
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Are you able to ping 208.91.114.151 from fortigate?
exec ping 208.91.114.151
If it doesn't work then try this:
exec ping-options source <WAN IP>
exec ping 208.91.114.151
Also run this command to capture the traffic for mail not sending:
diag sniffer packet any 'port 465' 4 0 l
Regards,
Varun
I got the logs which says email sent to gmail account failed. On logs , there is ssl errors i think. What can i do to be able to send emails to gmail?
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1633 | |
1063 | |
751 | |
443 | |
210 |
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.