mcloum Posted September 27, 2009 Posted September 27, 2009 (edited) Hi folks, So im trying to setup OneorZero helpdesk to check a pop account for ticket creation. I have setup the system according to the documentation but when i run the mailgate.php file i get a connection timeout error. Problem is i dont think its a firewall issue. My XP clients can access the pop server (im behind a ISA Server by the way) i have created a rule that allows the fog server to not use authentication when accessing the internet, i have even set the ubuntu box to use the upstream proxy to be safe but it always times out. Am i missing anything? Mike Edited September 27, 2009 by mcloum switching on email notification
Arcath Posted September 28, 2009 Posted September 28, 2009 If youve set the proxy then it only sets for the current user (i think, certainly does on ubuntu 9.04 desktop) so when you load the page it runs as the http user that doesnt have the proxy set. What version of ubunutu are you using? if you create a simple PHP to get a file off the internet does it do it?
mcloum Posted September 28, 2009 Author Posted September 28, 2009 I'm using 8.10 I believe. that makes sense, I have set a network proxy and applied it to all users via the GUI. I'm not sure how to retrieve a file via PHP, any pointers and I will test.
Arcath Posted September 28, 2009 Posted September 28, 2009 by far the easiest way to test it would be: $test=file_get_contents("http://www.edugeek.net/forums/nix/42044-ubunutu-pop-mail.html"); echo($test); ?> you should get an exact copy of this page (ish)
mcloum Posted September 28, 2009 Author Posted September 28, 2009 Warning: file_get_contents(http://www.edugeek.net/forums/nix/42044-ubunutu-pop-mail.html) [function.file-get-contents]: failed to open stream: Redirection limit reached, aborting in /var/www/test.php on line 2 No go
Arcath Posted September 28, 2009 Posted September 28, 2009 that sounds more like this site links all over the place, try something else like "http://google.com" instead
mcloum Posted September 28, 2009 Author Posted September 28, 2009 changing to google.com returns the google home page but without images, which i guess is normal as they dont exist on my system
mcloum Posted September 29, 2009 Author Posted September 29, 2009 This is the error message i get: The mimeDecode file was not found Warning: fsockopen() [function.fsockopen]: unable to connect to pop.siriusacademy.org.uk:110 (Connection timed out) in /var/www/helpdesk/mailgate/mailGate.php on line 231 Connect Failed: Connection timed out(110) it says the mimeDecoee file isnt found but it exists in the folder i've specified in the OOz config. any ideas?
kmount Posted September 29, 2009 Posted September 29, 2009 Can you try the following: telnet pop.siriusacademy.org.uk 110
mcloum Posted September 29, 2009 Author Posted September 29, 2009 (edited) Just sits at Trying 89.207.213.43 then... telnet: Unable to connect to remote host: Connection timed out Edited September 29, 2009 by mcloum
Arcath Posted September 29, 2009 Posted September 29, 2009 ah, it looks like port 110 is blocked or atleast filtered between your ubuntu box and the outside world
mcloum Posted September 29, 2009 Author Posted September 29, 2009 No i dont think its that, like i said Outlook on a Windows box can access the pop server no problem. The only difference is that windows has the Firewall client installed. Im going to try turning off authentication all together tomorrow and see if that helps.
Arcath Posted September 30, 2009 Posted September 30, 2009 can evolution (the email client that comes with ubunutu) on the ubuntu box fetch the mail?
mcloum Posted September 30, 2009 Author Posted September 30, 2009 nope, tried that already. Same result.
Arcath Posted September 30, 2009 Posted September 30, 2009 Then its connectivity issue between the ubuntu box and the server. Have you turned off the firewall on the ubunutu bix?
mcloum Posted September 30, 2009 Author Posted September 30, 2009 yes its disabled. i did it with /etc/init.d/ufw stop I can access the internet no problem. It just seems to be port 110. Very strange, pretty sure its authentication problem, will try switching that off tonight.
Arcath Posted September 30, 2009 Posted September 30, 2009 unless you disable it, stoping it like that will just stop it till you reboot it
mcloum Posted September 30, 2009 Author Posted September 30, 2009 WAHEY!!!!! Now getting the following error but i assume this will be OOZ The mimeDecode file was not found+OK Dovecot ready. <1230.5.4ac343dc.O+ztivuiks4v4K9YYmqqwQ==@yhgfladm2> +OK +OK Logged in. Ack: +OK, Num Messages: 20 ***New mail*** Fatal error: Class 'Mail_mimeDecode' not found in /var/www/helpdesk/mailgate/mailGate.php on line 288
mcloum Posted September 30, 2009 Author Posted September 30, 2009 Yup seems i got a path wrong, all ok now except a few errors to do with sending out emails to the task supporters. Cheers for all the help guys. Mike
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now