Unable to send Test mail
Moderators: Developers, Moderators
Unable to send Test mail
Please help. This is the error I get when trying to send Test Email. Thank you so much.
Sending Message...
ERROR: Unable to connect to SMTP Host 'smtp.gmail.com': (13) Permission denied
Unable to connect to SMTP Host 'smtp.gmail.com': (13) Permission denied
Sending Message...
ERROR: Unable to connect to SMTP Host 'smtp.gmail.com': (13) Permission denied
Unable to connect to SMTP Host 'smtp.gmail.com': (13) Permission denied
- camerabob
- Cacti User
- Posts: 386
- Joined: Fri Feb 10, 2017 2:45 pm
- Location: Long Island, New York, USA
- Contact:
Re: Unable to send Test mail
I have Verizon for an ISP. They block using any other mail service but their own (via AOL mail) from sending SMTP traffic. Many other carriers have adopted this approach to email, even though it has been secured. Look at your ISP's terms and conditions to see if this too is the case with your service.
See this thread: viewtopic.php?f=21&t=58573
See this thread: viewtopic.php?f=21&t=58573
Prod: Cacti 1.2.15 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Re: Unable to send Test mail
Thanks for your reply. Everything is fine from my ISP. I have changed and used several providers same error.
Please any further ides of how this can be resolved. Thank you so much
Please any further ides of how this can be resolved. Thank you so much
- camerabob
- Cacti User
- Posts: 386
- Joined: Fri Feb 10, 2017 2:45 pm
- Location: Long Island, New York, USA
- Contact:
Re: Unable to send Test mail
What are your Gmail settings? Erase the email address portion in the reply. Also, test from an email client. If it works there, it should work from Cacti. The test button may not work (if you saw my post), but trigger an error and see if you get the email alert. I did.
Prod: Cacti 1.2.15 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Re: Unable to send Test mail
Please clarify how you know/believe everything to be fine with your ISP. Simply saying it should be fine doesn't make it so and even if they haven't notified you directly of the SMTP block/redirection, it can still be occurring. In addition to that, if you have any form of firewall or AV between the cacti process and SMTP server, you should ensure that they are allowing SMTP through as well. A lot don't because they class it as spam used by malicious people.samtos wrote:Thanks for your reply. Everything is fine from my ISP. I have changed and used several providers same error.
Please any further ides of how this can be resolved. Thank you so much
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Re: Unable to send Test mail
Ok, thank you so much. I will have them check this again.
Re: Unable to send Test mail
So, confirmed, the IP obtained is valid and ok. I sent a test from CLI: "python3 sendmail.py" and it came through but from the GUI..web browser > setting > Mail/DNS , I am unable to send a test mail.
Thank you.
Thank you.
Re: Unable to send Test mail
Aside from the username/password what settings did you use in the python mail?
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
- camerabob
- Cacti User
- Posts: 386
- Joined: Fri Feb 10, 2017 2:45 pm
- Location: Long Island, New York, USA
- Contact:
Re: Unable to send Test mail
I have two Cacti installs. The test email works on one system and fails in the second. The second (my primary of course) also is unable to PING any devices in the setup, where it had some time back. I don't know what changed, but when a device fails due to the inability to pull SNMP data, I still get the notification, I just am unable to use the test email button. The script Netniv wrote and posted at the end of the linked thread above DID work. Same script, just with some debugging enabled. Go figure. Like I said earlier, change an IP in a device to cause it to fail, wait the polling time and see if you do get notifications. Chances are it will work.samtos wrote:So, confirmed, the IP obtained is valid and ok. I sent a test from CLI: "python3 sendmail.py" and it came through but from the GUI..web browser > setting > Mail/DNS , I am unable to send a test mail.
Thank you.
Prod: Cacti 1.2.15 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Re: Unable to send Test mail
Ok thank you so much.
Who is online
Users browsing this forum: No registered users and 1 guest