Setup squirrelmail on several domains

Discussion in 'Server Operation' started by mig26, Aug 16, 2010.

  1. mig26

    mig26 New Member

    First of all, I´m a newbie
    I have installed "The Perfect Server - Ubuntu 10.04 [ISPConfig 3]" thanks for the excellent guide provided by Falko.

    My IP is dinamic, change almost every week. I have a cron do update the first two domains every five minutes, and it seems to work fine.
    In this server I have tree domais (; and
    All of the tree domains I can acess them from outside expl. "
    I´m using to update my dinamic ip.

    I can access e-mail acounts from http://mypublicIPaddress/webmail
    but I can´t access from the

    I need some help to find why this is happaning.
    How can I setup the squirrelmail to access the e-mail aconts from

    Thanks for your help!

  2. BorderAmigos

    BorderAmigos New Member

    Squirrelmail is located in /usr/share/squirrelmail/
    The normal ISPConfig3 setup puts a symbolic link /var/www/webmail that points to the Squirrelmail location. Accessing your site by IP address looks in /var/www as the document directory. Accessing by domain name looks in /var/www/clients/client?/web?/web as the document directory. Put a symlink in the appropriate web directory that points to the Squirrelmail location. For example: If you are client1 and web1 do
    ln -s /usr/share/squirrelmail/ /var/www/clients/client1/web1/web/webmail
    With your dynamic IP you are likely to lose emails when your address changes as it takes time to propagate through the net. Also, many or most dynamic IP ranges are blacklisted as mail servers so even if you get it working, your mails may be rejected by receivers. You need to relay through a fixed IP server somewhere to get around this.
    Last edited: Aug 16, 2010

Share This Page