Ask not what osTicket community can do for you - ask what you can do for osTicket community

Go Back   osTicket Forums > osTicket 1.6.x > Installation and Setup Help

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-07-2012, 10:19 AM
lil lil is offline
Junior Member
 
Join Date: Mar 2012
Posts: 9
Default Access POP3 or SMTP Servers - Permission denied

Hi

I've built a server with Centos 6 and installed Osticket 1.6.

I'm at the email stage no matter how much I try and cannot get email bit. it keep coming up with

[SMTP: Failed to connect socket: Permission denied (code: -1, response: )]

and

110: Permission denied - Invalid login. Check POP settings.

However if I telnet from the cent os server I can see the pop3 server.

I've confirmed the username and passowrd are right, on the pop info, as I used mail2web.

Any ideas? - I'm fairly new to cent os, so it maybe an easy fix that I haven't looked into.

Thanks
Lil
  #2  
Old 03-07-2012, 02:21 PM
ntozier's Avatar
ntozier ntozier is offline
Moderator
 
Join Date: Jan 2010
Location: NH USA
Posts: 1,655
Default

Hey lil,

I'm not a user of CentOS so my answer will be a little more vague then I would like it to be. There are a couple different things that I think could cause this sort of behavior.

First check Admin Panel -> Settings -> scroll down to "Outgoing Emails:". What are you using in the drop down box? If you are not using "None: use PHP Mail Function" try that first and see what happens.

Secondly, if you have the capability to do so, check and make sure that the email server allows connections specifically from your web server. How to do this is dependent on the email server software you are running. I would guess that it does since you telnetted from the webserver to the mail server successfully. You also might want to check and make sure that dns is setup for the webserver, or if the email server is doing a reverse lookup that it resolves correctly as some email servers no longer accept connections if reverse dns is bogus.

Lastly do you know if you have the php_imap or possibly the php5_imap package installed? This package is not very aptly named (imo) because it is also required for pop mail to work. It handles both imap and pop.

That's all I can think of off the top of my head. Please let us know if this helps.
  #3  
Old 03-07-2012, 05:56 PM
lil lil is offline
Junior Member
 
Join Date: Mar 2012
Posts: 9
Default

Many thanks I will try this tomorrow when I'm at work.

thanks for the help so far
  #4  
Old 03-07-2012, 06:08 PM
lil lil is offline
Junior Member
 
Join Date: Mar 2012
Posts: 9
Default

I couldn't wait until tomorrow!!! logged into work now!

I've only got that option, none use PHP mail function. so its not that.

How do I know if php_imap or possibly the php5_imap packages are installed?

Thanks for the detailed response, as I'm not sure what else to do with this.

lil
  #5  
Old 03-07-2012, 06:23 PM
lil lil is offline
Junior Member
 
Join Date: Mar 2012
Posts: 9
Default

Setting up Install Process
Package php-imap-5.3.3-3.el6_2.6.x86_64 already installed and latest version
Nothing to do


I'm afriad it already installed is there anything else I can do? and test?

is there another package that may give another option in the settings section, so it says more than php mailer?


this is the error...

Login info (optional): Required when IMAP/POP and/or SMTP are enabled.
Username: care
Password:
Invalid login. Check POP settings
Mail Account (Optional)
Setting for fetching incoming emails. Mail fetching must be enabled with autocron active or external cron setup.
Please be patient, the system will try to login to mail server to validate the entered login info.
Can't connect to xxxx.xxxxxxxxxx.net,110: Permission denied

Last edited by lil; 03-07-2012 at 06:27 PM.
  #6  
Old 03-07-2012, 09:03 PM
ntozier's Avatar
ntozier ntozier is offline
Moderator
 
Join Date: Jan 2010
Location: NH USA
Posts: 1,655
Default

Hmm. Check your php.ini (it is probably in /etc or /etc/php5) and see what the error_log directive says. That will tell you where your PHP logs are located. It's possible that error logging isn't enabled. If it isn't i recommend that you turn it on by settings a path. Like

error_log = /var/log/php_error.log

or something similar. Then try it again and see if it logs anything that might actually be useful.

Are you sure that you can telnet from the web server to the mail server successfully? What happens when you do?
  #7  
Old 03-08-2012, 03:29 AM
lil lil is offline
Junior Member
 
Join Date: Mar 2012
Posts: 9
Default

thanks for the reply again (very helpful here!)

I telnet from the cent os and get

Connected to xxxxxx.xxxxxxxxx.xxxxxxxx
Escape character is '^]'.
+OK Microsoft Exchange Server 2003 POP3 server version 6.5.7638.1 xxxxxx.xxxxxxxxx.xxxxxxxx ready.

Will check the php.ini now.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:01 PM.