HI!
On my company, the default smtp port (25) is blocked, so, by defaults I can't send mail alerts with Zabbix...
Reading some topics about "How to change the default port" I found that is impossible, is that true?
Well, assuming it's true I found this topic. The third message, from Dreas, explaim a simpler solution, I did it but still not working, on Zabbix audit I have the error "No media for "user""
I'll explain my steps:
1- Installed SendMail and start his process
2- Created a script on "/usr/lib/zabbix/alertscripts/"
Q: I created 2 scripts, because I'm not sure about the extension of the file, I created a file called "zabbix_sendemail.conf" and another "zabbix_sendmail". Tryied both, with same error. What's the extension of a script in this case?
Here my script

3- Ran chmod 755
4- Configured the Media

5- Changed the action to send only by SendMail media
and here the result

I'm open to another solutions to main problem: the block of port 25
On my company, the default smtp port (25) is blocked, so, by defaults I can't send mail alerts with Zabbix...
Reading some topics about "How to change the default port" I found that is impossible, is that true?
Well, assuming it's true I found this topic. The third message, from Dreas, explaim a simpler solution, I did it but still not working, on Zabbix audit I have the error "No media for "user""
I'll explain my steps:
1- Installed SendMail and start his process
2- Created a script on "/usr/lib/zabbix/alertscripts/"
Q: I created 2 scripts, because I'm not sure about the extension of the file, I created a file called "zabbix_sendemail.conf" and another "zabbix_sendmail". Tryied both, with same error. What's the extension of a script in this case?
Here my script

3- Ran chmod 755
4- Configured the Media

5- Changed the action to send only by SendMail media
and here the result

I'm open to another solutions to main problem: the block of port 25
Comment