Linkage on server help needed.

edited June 2008 in Science & Tech
Guys i need help in setting up a Server that will send out emails with a php script.

first i have 2 servers up and running.
one is the main server where i will install the PHP5 and host my files.
2nd is already a mail server running itself.

now, is there a way that i could link the 2 servers up so that when a php script that was hosted in the first server process a form and tries to send out a email, the email will then be passed on to server 2 to be sent out.

thanks in advance.

Comments

  • kryystkryyst Ontario, Canada
    edited June 2008
    The basics are that if you have one server that is working as your mail server you simply point your other server to it.

    So if you have a main.server.com and an other.server.com if you just plug in the main.server.com email settings into other.server.com. You should be able to (from other) do this from a prompt:

    telnet main.server.com 25
    helo (not a spelling mistake)

    and it should respond with the server name and that it's listening.

    But without a lot more information from you, can't really help more.
  • edited June 2008
    kryyst wrote:
    The basics are that if you have one server that is working as your mail server you simply point your other server to it.

    So if you have a main.server.com and an other.server.com if you just plug in the main.server.com email settings into other.server.com. You should be able to (from other) do this from a prompt:

    telnet main.server.com 25
    helo (not a spelling mistake)

    and it should respond with the server name and that it's listening.

    But without a lot more information from you, can't really help more.

    thanks. i will get on it now.
Sign In or Register to comment.