GMail and Cacti
Moderators: Developers, Moderators
GMail and Cacti
I have moved my email hosting to gmail and we are using SSL for our SMTP. Is it possible to get cacti to send email alerts using this method? I changed the port and the smtp server and the authentication information in the cacti settings but it fails to connect to the server.
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
You mean thold?
SSL, no, not currently.
SSL, no, not currently.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Depending on your environment this might be possible. I have a PHP-Nuke site up on a Linux server that uses GMail to send out it's messages. I had to do a lot of monkeying with the sendmail configuration but I finally got it to work. I'll check to see if I'm using SSL SMTP though. I'm pretty sure I had to do some stuff with TLS so I would expect that I'm using secure SMTP, but I set this up so long ago it's hard to remember.
What OS is your server using? If it's Linux I'll try and piece together what I did on my box and maybe it might work for you.
What OS is your server using? If it's Linux I'll try and piece together what I did on my box and maybe it might work for you.
Re: GMail and Cacti
I have the same issue , my smtp needs SSL,not support ?
My cacti version is 0.8.7g.
Any help would be appreciated.
Thanks in Advance.
My cacti version is 0.8.7g.
Any help would be appreciated.
Thanks in Advance.
Re: GMail and Cacti
Just a suggestion. I can't verify.
In "Settings -> Mail / DNS":
- Mail Services = SMTP
- SMTP Hostname = ssl://your.mail.server
- SMTP Port = 465
In "Settings -> Mail / DNS":
- Mail Services = SMTP
- SMTP Hostname = ssl://your.mail.server
- SMTP Port = 465
Re: GMail and Cacti
noname wrote:Just a suggestion. I can't verify.
In "Settings -> Mail / DNS":
- Mail Services = SMTP
- SMTP Hostname = ssl://your.mail.server
- SMTP Port = 465
Hi noname,thanks for your reply , I try it but receive the following message:
Checking Configuration...
Method: SMTP
Creating Message Text...
This is a test message generated from Cacti. This message was sent to test the configuration of your Mail Settings.
Your email settings are currently set as follows
Method: SMTP
Host: ssl://smtp.gmail.com
Port: 465
Authenication: true
Username: mygmailname
Password: (Not Shown for Security Reasons)
Sending Message...
ERROR: Unable to connect to SMTP Host 'ssl://smtp.gmail.com': (43055392) Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?
Unable to connect to SMTP Host 'ssl://smtp.gmail.com': (43055392) Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?
Re: GMail and Cacti
Then make sure whether SSL is available in your PHP.nicoCn wrote:ERROR: Unable to connect to SMTP Host 'ssl://smtp.gmail.com': (43055392) Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?
Unable to connect to SMTP Host 'ssl://smtp.gmail.com': (43055392) Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?
- http://www.php.net/manual/en/openssl.installation.php
Re: GMail and Cacti
I will try it , thank you very much.noname wrote:Then make sure whether SSL is available in your PHP.nicoCn wrote:ERROR: Unable to connect to SMTP Host 'ssl://smtp.gmail.com': (43055392) Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?
Unable to connect to SMTP Host 'ssl://smtp.gmail.com': (43055392) Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?
- http://www.php.net/manual/en/openssl.installation.php
Re: GMail and Cacti
hi noname, I change a new smtp server with need not SSL , now it does work well .
thanks a lot.
thanks a lot.
-
- Posts: 1
- Joined: Wed Jan 02, 2013 9:47 am
Re: GMail and Cacti
Hi,
Please help me.
I have a problem with sending the mail's, the error is:
Method: SMTP
Host: ssl://smtp.gmail.com
Port: 465
Authenication: true
Username: usuario@gmail.com
Password: (Not Shown for Security Reasons)
Sending Message...
ERROR: SMTP Host rejected to address: 553-5.1.2 We weren't able to find the recipient domain. Please check for any
SMTP Host rejected to address: 553-5.1.2 We weren't able to find the recipient domain. Please check for any
Please help me.
I have a problem with sending the mail's, the error is:
Method: SMTP
Host: ssl://smtp.gmail.com
Port: 465
Authenication: true
Username: usuario@gmail.com
Password: (Not Shown for Security Reasons)
Sending Message...
ERROR: SMTP Host rejected to address: 553-5.1.2 We weren't able to find the recipient domain. Please check for any
SMTP Host rejected to address: 553-5.1.2 We weren't able to find the recipient domain. Please check for any
Who is online
Users browsing this forum: No registered users and 1 guest