The difference is that I have the same ‘reply-to’ and ‘username’ addresses in configuration.
config system email-server set reply-to "firstname.lastname@example.org" set server "smtp.office365.com" set port 587 set source-ip IPofTheDeviceBehindIPsecTunnel set authenticate enable set username "email@example.com" set password sdfsdfsdfsdfsdfdsfsdf(formatted) set security starttls end
The fortigate device1 is connected with another fortigate device2 via IPsec Tunnel (dns is working fine). This particular fortigate device1 does not have direct access to WAN, all traffic goes via the tunnel and device2 has connection with Internet. That's why i have specified source-ip of the device2 within email-server config.
Any ideas what is wrong? I want to be informed via email from device2 directly.
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.