2 web servers and 1 domain
Posted on 2006-06-01
I have my website running on a Linux box with Apache and PHP. My email server is running on an NT 4.0 server. Email software has webmail, web server to serve webmail
I downloaded several freeware php programs to use as webmail. I installed them on the Linux box so it can serve the php webmail pages and have them access my NT 4.0 email server (Using POP). It fetches the mail fine, the problem is, I can't send using SMTP and PHP. When I go to my NT box, it has winsock errors using SMTP, but I can use any (LINUX or Windows) client mail software to send emails and that works great, just not with PHP.
My question is: My email server software on the NT 4.0 has webmail built into it. The webmail on it works great. How do I set it up (If possible) so that when a request comes in IE www.mydomain.com/mail it directs it to my NT 4.0 box. Do I need to setup my router for this? Is this even possible.
Bascially my Linux box handles everything dealing with web related stuff except my webmail.