I can't send test message using SMTP. I got the error as follows :
Unable to connect to SMTP Host 'mailhub.wharftt.com': (13) Permission denied
Then, I try to telnet to Cacti and then telnet to SMTP server port 25 to test SMTP operation by SMTP commands like helo, mail from: rcpt to:, data. I can get the e-mail.
Why Cacti can't send the test mail? Please advise.
Thanks!
Sending SMTP test message error
Moderators: Moderators, Developers
Sending SMTP test message error
- Attachments
-
- Cacti SMTP.JPG (32.93 KiB) Viewed 3303 times
Re: Sending SMTP test message error
This is more than likely an authentication issue for the SMTP server. Could be a required username and password to authenticate or wrong port.
Re: Sending SMTP test message error
My SMTP server won't require authentication and use port 25.
Re: Sending SMTP test message error
Can you tey telnet to the server mailhub.wharftt.com port 25?tung2000 wrote:My SMTP server won't require authentication and use port 25.
Re: Sending SMTP test message error
Yes, I can
Re: Sending SMTP test message error
Hi - did you get this working? I'm experiencing the same issue...
Re: Sending SMTP test message error
I have encountered the same problem and if you have a mail server you need to accept Unknown Client.
Cacti use a non standard email client and a lot of mail server doesn't accept it.
It's not a problem of authentication, but simple your email client is not recognized.
If you try to use the same settings with a client like Outlook, i am sure you haven't any problem
Cacti use a non standard email client and a lot of mail server doesn't accept it.
It's not a problem of authentication, but simple your email client is not recognized.
If you try to use the same settings with a client like Outlook, i am sure you haven't any problem

Re: Sending SMTP test message error
Admin please delete this message.... It's a double... 

Last edited by nandozzi on Fri Feb 15, 2013 8:40 am, edited 1 time in total.
Re: Sending SMTP test message error
I found disabling SELINUX did the trick...
Run this command to see if it is running:
selinuxenabled && echo enabled || echo disabled
To disable SELINUX temporarily:
echo 0 > /selinux/enforce
To make the disabling of SELINUX permanent, edit /etc/selinux/config and change the line SELINUS="enabled" to disabled
Run this command to see if it is running:
selinuxenabled && echo enabled || echo disabled
To disable SELINUX temporarily:
echo 0 > /selinux/enforce
To make the disabling of SELINUX permanent, edit /etc/selinux/config and change the line SELINUS="enabled" to disabled
- gandalf
- Developer
- Posts: 22375
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Sending SMTP test message error
There are SELinux bolleans that rule sending SMTP bia HTTP. You may want to dive into this
R.
R.