Doubt with squirrelmail

Discussion in 'General' started by unixix, Sep 11, 2009.

  1. unixix

    unixix New Member

    I've installed ISPconfig 3 on a Debian machine. I need to reach webmail for every domain at webmail.domain.com, without installing squirrelmail for every domain. It's possible?
     
  2. giftsnake

    giftsnake New Member

    i have a link in /var/www to /usr/share/squirrelmail and i can reach webmail for every domain at mail.domain.com/webmail

    Code:
    ln -s /usr/share/squirrelmail /var/www/webmail
    if you want to have it webmail.domain.com just add an A record "webmail" for every domain. maybe you want to redirect to /webmail as well.
     
    Last edited: Sep 11, 2009
  3. unixix

    unixix New Member

    Thanks !!:)
     
  4. Nikola

    Nikola Member

    not function for me, i use debian, how add email subdomain webmail.domain.com for some domain which i have in dns control panel, someone help me? step by step :) thx
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Add a new website webmail.domain.com and install the webamil application of your choice into this site.
     
  6. toperzar

    toperzar New Member

    how can you install an aplication like squirrelmail or phpmyadmin just for a client?

    I have red in some post that the only thing to can make www.domain.net/webmail is installing the aplication with this user and domain, but how can i do this?
    i am using lenny and i have no problem with this in etch, simply with a symbolic link to /usr/share/squirrelmail it is ok

    thanks
     
  7. sjau

    sjau Local Meanie Moderator

    you can add a directive to apache to auto-load that folder...

    phpMyAdmin does that on debian. It added a file in /etc/apache2/conf.d (well, rather a symlink pointing to somewhere else) containing:

    Code:
    # phpMyAdmin default Apache configuration
    
    Alias /phpmyadmin /usr/share/phpmyadmin
    
    <Directory /usr/share/phpmyadmin>
            Options Indexes FollowSymLinks
            DirectoryIndex index.php
    
            <IfModule mod_php5.c>
                    AddType application/x-httpd-php .php
    
                    php_flag magic_quotes_gpc Off
                    php_flag track_vars On
                    php_flag register_globals Off
                    php_value include_path .
            </IfModule>
    
    </Directory>
    
    # Authorize for setup
    <Directory /usr/share/phpmyadmin/setup>
        <IfModule mod_authn_file.c>
        AuthType Basic
        AuthName "phpMyAdmin Setup"
        AuthUserFile /etc/phpmyadmin/htpasswd.setup
        </IfModule>
        Require valid-user
    </Directory>
    
    # Disallow web access to directories that don't need it
    <Directory /usr/share/phpmyadmin/libraries>
        Order Deny,Allow
        Deny from All
    </Directory>
    <Directory /usr/share/phpmyadmin/setup/lib>
        Order Deny,Allow
        Deny from All
    </Directory>
    
    So, if a vhost does not have its own rules for /phpmyadmin then phpMyAdmin is available on every vhost at /phpmyadmin.
     
  8. toperzar

    toperzar New Member

    this auto-directive is more or less the same in lenny

    the directive that you put here is in the directory /conf.d/ in /etc/apache2 so my problem is if i want to link the domain to a webmail or myphpadmin i do not want to use the ip.
    before in etch, you just make a simbolic link to /usr/share/squirrelmail into the domain's directory and it is ok, but now, when i do this just appear a blamk web.

    any ideas??

    Thanks
    Toper
     

Share This Page