+ Reply to Thread
Results 1 to 5 of 5

Thread: how to add more than one domain name on roundcube

  1. #1
    tik@nast is offline Registered User
    Join Date
    Jul 2009
    Posts
    3
    Downloads
    0
    Uploads
    0

    Default how to add more than one domain name on roundcube

    i'm a new member and also new for using roundcube, i installed roundcube with xampp(database) and Hmailserver. due to my work place that need to provide account in many domain so i don't know the step to configure my roundcube to run for many domains in one server.

  2. #2
    tik@nast is offline Registered User
    Join Date
    Jul 2009
    Posts
    3
    Downloads
    0
    Uploads
    0

    Default please help

    when i try to configure 2 domain in the main.inc.php file by put the command below:
    $rcmail_config['include_host_config'] = array(
    'mail.tik.net' => 'tik.inc.php',
    'mail.nast.com' => 'nast.inc.php'
    );

    and then i copy the main.inc.php file and remame is as tik.inc.php and nast.inc.php and change a little bit configure such as:
    1. $rcmail_config['default_host'] = 'mail.tik.net';
    2.$rcmail_config['username_domain'] = 'tik.net';
    3.$rcmail_config['smtp_server'] = 'mail.tik.net';
    4.$rcmail_config['smtp_helo_host'] = 'mail.tik.net';
    by now i can't not go to the phpmyadmin page so it's getting error to connect with the database. please give me some advice

  3. #3
    JohnDoh is offline Super Moderator
    Join Date
    May 2007
    Posts
    1,206
    Downloads
    6
    Uploads
    0

    Default

    i dont really see how changing your RC config would affect access to phpmyadmin could you give us some more info?
    Roundcube Patches: Sieverules, SpamAssassin Prefs, and more…

  4. #4
    tik@nast is offline Registered User
    Join Date
    Jul 2009
    Posts
    3
    Downloads
    0
    Uploads
    0

    Default

    now, i reinstall all again, so i would like you to give me some advice how to configure RC if i want it to use for multiple domain, my RC work with XAMPP and hmailserver

    thanks

  5. #5
    JohnDoh is offline Super Moderator
    Join Date
    May 2007
    Posts
    1,206
    Downloads
    6
    Uploads
    0

    Default

    do all your domains connect to the same imap server? if they do then probably all you need to change is:
    $rcmail_config['username_domain']
    $rcmail_config['mail_domain']
    and you can use a little bit of php to generate the values for those based on the URL used to access the site. If you are not sure how to do that please search the forum there are lots of examples.
    Roundcube Patches: Sieverules, SpamAssassin Prefs, and more…

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts