Hesk 2.52 Permission denied on SMTP

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
matthes134
Posts: 8
Joined: Wed Nov 23, 2011 2:47 pm

Hesk 2.52 Permission denied on SMTP

Post 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.
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: Hesk 2.52 Permission denied on SMTP

Post 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).
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
matthes134
Posts: 8
Joined: Wed Nov 23, 2011 2:47 pm

Re: Hesk 2.52 Permission denied on SMTP

Post 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
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: Hesk 2.52 Permission denied on SMTP

Post 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?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
matthes134
Posts: 8
Joined: Wed Nov 23, 2011 2:47 pm

Re: Hesk 2.52 Permission denied on SMTP

Post 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
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: Hesk 2.52 Permission denied on SMTP

Post 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?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
matthes134
Posts: 8
Joined: Wed Nov 23, 2011 2:47 pm

Re: Hesk 2.52 Permission denied on SMTP

Post by matthes134 »

Error: Could not connect to the host "exch.iowacentral.edu": Permission denied
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: Hesk 2.52 Permission denied on SMTP

Post 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.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
matthes134
Posts: 8
Joined: Wed Nov 23, 2011 2:47 pm

Re: Hesk 2.52 Permission denied on SMTP

Post by matthes134 »

got the same error with gmail
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: Hesk 2.52 Permission denied on SMTP

Post 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).
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
matthes134
Posts: 8
Joined: Wed Nov 23, 2011 2:47 pm

Re: Hesk 2.52 Permission denied on SMTP

Post 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?
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: Hesk 2.52 Permission denied on SMTP

Post by Klemen »

Works fine on my server, not sure why not on yours.

You can always try using PHP mail instead.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: Hesk 2.52 Permission denied on SMTP

Post 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.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply