12 Mar 2020

Fortigate Alert Mail Office365

Fortigate firewallamızla office 365 te olan hesabımızı kullanarak mail atma ayarları

Ayarları aşağıdaki gibi yaparsanız çalışacaktır.
Fortios Version 6.2.3

 

konuyla ilgili Fortinetin makalesi

https://kb.fortinet.com/kb/documentLink.do?externalID=FD40488

This is an example of the configuration in FortiGate:

Configure gmail account in the FortiGate.

#config system email-server
    set server “smtp.gmail.com”
    set port 587
    set authenticate enable
    set username “test”
    set password SGKSDHFK
    set security starttls
end

Configure the destination to the email alert.

#config alertemail setting
    set username “test@gmail.com”
    set mailto1 “test@fortinet.com”
end

Following the configuration in the FortiGate, it is needed to configure gmail account to allow connections from less secure applications, in this case the FGT.

Go to: Gmail -> My account -> connected applications and sites -> Access for less secure apps

Following this, it will be possible to send alert mails.

Test this with following command:

#diagnose log alertmail test

 

Mehmet Cemil Kutlu
NSE4
Network Mühendisi