On Saturday 18 May 2002 02:39, Sergio Tirado wrote: > I just installed Red Hat 7.3 with Apache and PHP. I ran a simple script > to test the imap_open function and it doesn't work when using the > values for servers on my subnet. > > http://www.gym.itesm.mx/imap.php > > However, if the mailbox I request to open is on another server outside, it > does work. > > The strange thing is that a friend of mine has the same script running on > his server (http://pollux.icon.net.mx/~antonio/imap.php) and he can read > a mailbox from my subnet as well as any other. > > When I run the script on my server and try to access a local mailbox I > get the following error: > > Warning: Couldn't open stream {www.gym.itesm.mx:143}INBOX in > /home/campus/html/imap.php on line 5 > > I just don't know what could be wrong. Help is appreciated.
On the machine running the webserver, try: telnet host.of.imap.server 143 That will verify whether the two can connect. Do you have any weird firewall rules between the two? -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Quality Control, n.: The process of testing one out of every 1,000 units coming off a production line to make sure that at least one out of 100 works. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php