Jump to content

Recommended Posts

Posted (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 by mcloum
switching on email notification
Posted

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?

Posted
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.
Posted

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)

Posted

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

Posted

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?

Posted (edited)

Just sits at

 

Trying 89.207.213.43

 

then...

 

telnet: Unable to connect to remote host: Connection timed out

Edited by mcloum
Posted
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.
Posted

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.

Posted

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

Posted

Yup seems i got a path wrong, all ok now :D

 

except a few errors to do with sending out emails to the task supporters.

 

Cheers for all the help guys.

 

Mike

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...