ISPConfig3 - Install Webmail Tutorial?

Discussion in 'Installation/Configuration' started by slaeya, Mar 20, 2009.

  1. slaeya

    slaeya New Member


    I was wondering if anyone had a more comprehensive tutorial for install webmail with ISPConfig3 ***AFTER*** ISPConfig3 is installed. I find this one hard to follow and have now reformatted my server for the 6th time this week because I was mucking around with files / things I did not understand. I am using Ubuntu 8.10 and can't say I'm very linux savvy. I know the bare basics.

    This is a snippet off which I found hard to follow and ended up messing up big time.
    10.2) Horde (Webmail) -
    First of all, install the horde3 and Imp4 packages (Ubuntu/Debian)
    apt-get install horde3 imp4 gollem kronolith2 mnemo2 nag2 turba2
    pear install --onlyreqdeps Log Mail Mail_Mime MDB2 File Date
    It is then necessary to setup an Alias for Apache. 
    If you want horde only on single pages, that are created with ispc3:
    Add the following line to ISPConfig->Sites->Web Domain->Options->Apache directives
    If you want to access webmail on all pages add the following line to /etc/apache2/apache2.conf
    Alias /horde3 /usr/share/horde3
    Allow Apache to write horde configuration files :
    chown -R www-data:www-data /etc/horde
    Important parameters to change are (in Horde setup) :
    Horde URL (change it to /horde3)
    Enable Database Access. Do Not use MySQL Improved (4+), my attempts at using it failed. MySQL Standard runs fine however
    Enable Authentication. I recommend IMAP authentication (something like {localhost:143/imap/notls}. Do not forget the /notls, not specifying failed on my setup). Also make sure to add your username to the list of Administrators, otherwise, you won’t have access to horde/imp4 parameters. Using anything else than IMAP seeemed to fail on my setup
    Generate the configuration
    Horde should now be setup. You now have to configure imp4
    generate a configuration using the horde administration panel
    modify the /etc/horde/imp4/servers.php file. Instruction are given inside the file concerning the syntax. If you run Courier-IMAP, and want Imp to automatically authenticate using horde credentials :
    $servers[’imap’] = array(
    ‘name’ => ‘IMAP Server’,
    ’server’ => ‘localhost’,
    ‘hordeauth’ => true,
    ‘protocol’ => ‘imap/notls’,
    ‘port’ => 143,
    ‘folders’ => ‘INBOX.’,
    ‘namespace’ => ‘’,
    ‘maildomain’ => ‘’,
    ’smtphost’ => ‘localhost’,
    ’smtpport’ => 25,
    ‘realm’ => ‘’,
    ‘preferred’ => ‘’,
    ‘dotfiles’ => false,
    ‘hierarchies’ => array()
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. slaeya

    slaeya New Member

    Thanks till, I already went ahead with it and it installed no problems.

    I have one more question regarding this though.

    I currently have to use the server domain to access webmail, if I host more than one site, can they access webmail from their own domain and how do I set this up

    current setup. => =>

    desired setup => =>


    I have installed squirrelmail on my server and everything is currently working fine. I would love to get this working if possible though :)
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    To do this you would have to create a symlink named "webmail" in every website directory that points to the squirrelmail directory or you add a global alis for webmail in apache2.conf for "webmail" pointing to the squirrelmail installation.

    But this only works as long as you have mod_php or suphp enabled in the website. As soon as you enable suexec it will fail with permission problems.
  5. slaeya

    slaeya New Member

    ok, I have devised a workaround for this now.

    I now have yet another question about the mailserver.

    When I am sending mail from outside servers towards my mailserver I get errors -
    ERR: authdaemon: s_connect() failed: Permission denied Invalid user specified.

    Once I encounter this error this command fixes it

    chmod 4755 /var/run/courier/authdaemon

    is there any way to make it so I don't recieve this error anymore
  6. till

    till Super Moderator Staff Member ISPConfig Developer

  7. manarak

    manarak Member

    I think Squirrelmail is disserving itself by not including some themes that can actually be looked at.

    This page isn't of any help either:
    A little color is not enough to remove this "feeling of the nineties"
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    You may use any webmail application together with ispconfig that supports either pop3 or imap. If you dont like squirrelmail, then take a look at e.g. roundcube.
  9. manarak

    manarak Member

    Squirrelmail is fine, it just looks ugly!
  10. fhawk

    fhawk New Member

  11. fhawk

    fhawk New Member

    Squirrelmail don't suport gb2312 perfectly!
  12. manarak

    manarak Member

    well, I am not preoccupied by Guojia Biaozhun, to say the least.

Share This Page