LWillmann
04-08-2004, 02:20 PM
I have a series of scripts designed for opening a user's email box and letting the user read email, compose and such. It's basically a PHP base mail program.
At one time, I had all of the mail, http, database functions running on a single linux box running Red Hat 6.1. I had compiled sendmail, apache, MySQL and PHP following the instructions. Everything worked fine with my email interface.
I moved the mail duties to it's own box to alleviate workload on the web server and now the scripts don't work.
I am using the correct name for the hose (not localhost), I have tried via both private and public IP as well and it just will not work.
This has to be a server config issue, since if I plug my ISPs mail server into the script along with my username and password it will open the email account. With the proper mail server info in it, it just reports that it failed to open the stream.
I can SSH to the web server and open a telnet connection to the mail server on port 110 (the port I'm using with the imap_open function) and it will let me log in to my mailbox on the server from telnet. There just seems to be something not letting PHP do it.
Does anyone have an idea where to look?
At one time, I had all of the mail, http, database functions running on a single linux box running Red Hat 6.1. I had compiled sendmail, apache, MySQL and PHP following the instructions. Everything worked fine with my email interface.
I moved the mail duties to it's own box to alleviate workload on the web server and now the scripts don't work.
I am using the correct name for the hose (not localhost), I have tried via both private and public IP as well and it just will not work.
This has to be a server config issue, since if I plug my ISPs mail server into the script along with my username and password it will open the email account. With the proper mail server info in it, it just reports that it failed to open the stream.
I can SSH to the web server and open a telnet connection to the mail server on port 110 (the port I'm using with the imap_open function) and it will let me log in to my mailbox on the server from telnet. There just seems to be something not letting PHP do it.
Does anyone have an idea where to look?