Hello,
i have installed Cacti 1.2.16 and wanted to set the notifications but the SMTP is not working and maybe someone could help me...
1. the server can connect to the mail server which i tested in the cli (Cacti1.png)
2. after sending the test mail i can see the connection to the mail server using tcpdump but for some reason the Cacti server after receiving SMTP 250 code send the quit (cacti-tcpdump.png)
3. in the log i see the output in the attachement (Cacti4.png)
I also tried using my gmail account and i have the same situation so it must be something on the Cacti server.
Cacti 1.2.16 unable to send mails
Moderators: Developers, Moderators
-
- Posts: 1
- Joined: Mon Jan 25, 2021 6:52 am
Cacti 1.2.16 unable to send mails
- Attachments
-
- cacti-tcpdump.PNG (90.55 KiB) Viewed 551 times
-
- Cacti4.PNG (13.5 KiB) Viewed 551 times
-
- Cacti1.PNG (8.12 KiB) Viewed 551 times
Re: Cacti 1.2.16 unable to send mails
Hello,
I had the same issue latter on, I can sugest you an work arround but is on your responsabilite all the security faults.
Following an issue I've I openned a while ago https://github.com/Cacti/cacti/issues/4024
Try to edit this file:
On SMTPOptions replace with this:
I had the same issue latter on, I can sugest you an work arround but is on your responsabilite all the security faults.
Following an issue I've I openned a while ago https://github.com/Cacti/cacti/issues/4024
Try to edit this file:
Code: Select all
include/vendor/phpmailer/src/PHPMailer.php
Code: Select all
public $SMTPOptions = array( 'ssl' => array( 'verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true ) );
Github https://github.com/zuka1337
Killspikealt https://github.com/zuka1337/killspikealt "Graphical Interface to Remove Spikes"
Spikepyrrd https://github.com/zuka1337/Spikepyrrd "Python Script to remove spikes from graph"
Killspikealt https://github.com/zuka1337/killspikealt "Graphical Interface to Remove Spikes"
Spikepyrrd https://github.com/zuka1337/Spikepyrrd "Python Script to remove spikes from graph"
Who is online
Users browsing this forum: No registered users and 1 guest