Page 1 of 1
Hesk 2.52 Permission denied on SMTP
Posted: Thu Mar 06, 2014 9:28 pm
by matthes134
Script URL: des.iowacentral.com:8080/hesk
Version of script: 2.52
Hosting company: local self hosted
has worked before on windows box but it crashed so we loaded it on a Linux box this time around
Have php, mysql-server, http loaded on it, Does Linux need sendmail loaded on this server?
URL of phpinfo.php:
http://des.iowacentral.com:8080/hesk/admin/phpinfo.php
URL of session_test.php:
http://des.iowacentral.com:8080/hesk/ad ... n_test.php
What terms did you try when SEARCHING for a solution:
Working SMTP with Authentication
Write your message below:
Not getting the PHP mail nor the SMTP mail to work with this updated version of the scripting software. Everything else is working fine. Keep getting
Error: Could not connect to the host "XXXX URL or ip XXXXX": Permission denied
I'ved tried this also with POP to gmail with the recommend setting on the knowledge base but I still get the same error.
Re: Hesk 2.52 Permission denied on SMTP
Posted: Fri Mar 07, 2014 7:03 pm
by Klemen
This most likely means that the PORT is blocked by the firewall.
Check with your host if they can open the ports you need (587 and 995 for gmail for example).
Re: Hesk 2.52 Permission denied on SMTP
Posted: Fri Mar 07, 2014 9:26 pm
by matthes134
Klemen wrote:This most likely means that the PORT is blocked by the firewall.
Check with your host if they can open the ports you need (587 and 995 for gmail for example).
thank you for the reply but the SMTP is local to the hesk server on the same network and on the same switch. both boxes dont have a firewall? the SMTP server is windows and the hesk is linux Centos 6.5 no firewall on and now SELINUX?
Thank you
Re: Hesk 2.52 Permission denied on SMTP
Posted: Fri Mar 07, 2014 10:03 pm
by Klemen
I can't really say much because I have no idea how your servers are setup.
But if you try setting "Email sending" to "SMTP Server" and enter
recommended Gmail settings then click "Test connection", what is the exact error message you get?
Re: Hesk 2.52 Permission denied on SMTP
Posted: Fri Mar 07, 2014 10:19 pm
by matthes134
Klemen wrote:I can't really say much because I have no idea how your servers are setup.
But if you try setting "Email sending" to "SMTP Server" and enter
recommended Gmail settings then click "Test connection", what is the exact error message you get?
Default centos 6.5 setup with php mysql-server i can attach a document to this that is documented the install process for my install? if that would help, I appreciate the any help you can give with this. Be glad to answer questions to this question on install if you have time.
Thank you
Re: Hesk 2.52 Permission denied on SMTP
Posted: Sat Mar 08, 2014 5:59 pm
by Klemen
I don't provide server configuration help, so can't really help with that.
Again, if you try setting "Email sending" to "SMTP Server" and enter recommended Gmail settings then click "Test connection", what is the exact error message you get?
Re: Hesk 2.52 Permission denied on SMTP
Posted: Sun Mar 09, 2014 1:36 am
by matthes134
Error: Could not connect to the host "exch.iowacentral.edu": Permission denied
Re: Hesk 2.52 Permission denied on SMTP
Posted: Sun Mar 09, 2014 12:01 pm
by Klemen
I was asking to test with GMAIL settings. Gmail settings are 100% correct and working, so testing with Gmail settings will show if the error is blocked ports or something else.
Re: Hesk 2.52 Permission denied on SMTP
Posted: Sun Mar 09, 2014 12:48 pm
by matthes134
got the same error with gmail
Re: Hesk 2.52 Permission denied on SMTP
Posted: Sun Mar 09, 2014 3:37 pm
by Klemen
Then it is definitely something on the server (or network) blocking the connections. My money would be on port 587 being blocked (out, in or both).
Re: Hesk 2.52 Permission denied on SMTP
Posted: Mon Mar 10, 2014 1:35 pm
by matthes134
what about local port 25 for SMTP it worked before on the older version of the hesk? Now with this newer version that message is coming up?
Re: Hesk 2.52 Permission denied on SMTP
Posted: Mon Mar 10, 2014 1:45 pm
by Klemen
Works fine on my server, not sure why not on yours.
You can always try using PHP mail instead.
Re: Hesk 2.52 Permission denied on SMTP
Posted: Tue Mar 11, 2014 9:05 pm
by Klemen
Try logging with your google account you use here and click "Allow access to your Google account "
https://www.google.com/accounts/DisplayUnlockCaptcha
Then try the smtp.gmail.com again and see if that helped.