email client for multi server setup using Debian Lenny

Discussion in 'Installation/Configuration' started by cvgeeks, Jun 14, 2011.

  1. cvgeeks

    cvgeeks New Member

    I have setup ISPConfig3 using the manual on 5 servers as per the instructions. Now I would like to setup an email client like RoundCube for my clients that will work with this type of setup.
    I would like each client to be able to go to http://www.theirdomain.com/webmail to check their email.
    Is there a How To that works with this type of multi server setup?
     
  2. falko

    falko Super Moderator Howtoforge Staff

    I think you have to install RoundCube on each server.
     
  3. cvgeeks

    cvgeeks New Member

    I followed the ISPConfig 3 owners manual that I downloaded here from this site. The part of the tutorial that I followed is:
    Installing A Multiserver Setup With Dedicated Web, Email, DNS And MySQL Database Servers On Debian With ISPConfig 3.
    In that tutorial you had me install postfix, postfix-mysql, postfix-doc, dovecot-imapd, dovecot-pop3d on a seperate email
    server that is not on the webserver running ispconfig 3. I have 5 seperate physical boxes running each service.

    :HERE IS MY SETUP:

    webserver - apache, ispconfig

    mailserver - postfix, postfix-mysql, postfix-doc, dovecot-imapd, dovecot-pop3d

    database server - mysql

    ns1 - bind9

    ns2 - bind9 - mirroring ns1

    What I would like to accomplish is to install RoundCube Mail so that each client can login to their own webmail from their own doamin
    i.e. mydomain.com/webmail. I have read almost every tutorial on RoundCube and as far as I can tell they are all describing the
    RoundCube installation going on the webserver which also runs the mail server in a single box and mine are seperated. I believe
    I am supposed to install RoundCube on the web/ispconfig3 server then configure it to point to the mail server? I simply do not
    know how to do this based on what I'm reading. If you could point me in the right direction that would be great :)

    Thanks in advace

     
  4. cvgeeks

    cvgeeks New Member

    Flako I figured it out :)
    I installed RounCube on a single website domain.
    The biggest problem was with suhosin but that was solved using a .htaccess file in the site root and a custom php.ini also in the site root.
    I needed to have the site using suPHP instead of fastcgi.
    Then the pointer to the imap server I used my ip instead of my fqdn then I changed it and it worked. Then the smtp I had to use %u and %p and "LOGIN" once i did that it worked perfectly.

    But what I noticed is that I can sign into that roundcube using any email account on my mail server. I would like to fix that. I would like if only the users in that domain can authenticate and not all users on the mail server. Do you have any suggestions on what I can do is there somthing in one of the tutorials that describes this that you can point me to?

    Thanks again. :D

     
  5. maumar

    maumar Member

  6. falko

    falko Super Moderator Howtoforge Staff

    No, you just need to install it once and then create an alias in your Apache confguration.
     
  7. maumar

    maumar Member

    then, imho, in the multiserver howto i would add that, if ones need webmail, it should be installed on web server and how to do it, better with a link to the howto where it is explained

    this is only a suggestion ;)
    no polemize
     
  8. falko

    falko Super Moderator Howtoforge Staff

Share This Page