Jump to content

email piping - NOT cPanel


yabado

Recommended Posts

does the same server that you run your mail server have a web server as well? I am running whmcs on one server and my mail server on another and its working just fine. Thats why im asking these questions as i have already done it. I do though, have apache running on the same physical server as my mail server, so i am able to run a few files that are needed to reference the whmcs db on a different server.

Link to comment
Share on other sites

OK, did not think of that angle. I could run Apache on the email server, or at least have php installed as a command line tool to handle the piping.

 

Did you just place a duplicate of your whmcs folder on the email server or just the necessary files for the pipe to work?

Link to comment
Share on other sites

just the necessary files. I think matt made a list somewhere of what files are needed. Just search the forums. Might want to add me as an author as it was one of my posts.

 

Make sure you remember to make your whmcs db on the other server accessible by the mail server.

 

I use this little test script to make sure its connecting ok to the other db.

 

<?php

     require_once 'configuration.php';

     // Connecting, selecting database
     $link = mysql_connect($db_host, $db_username, $db_password) or die('Could not connect: ' . mysql_error());
     echo 'Connected successfully:

';
     mysql_select_db($db_name) or die('Could not access database');

?>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated