SquirrelMail webmail won't work

Discussion in 'General' started by leiw, Sep 18, 2014.

  1. leiw

    leiw Member

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you restart apache?
     
  3. leiw

    leiw Member

    Yes, /etc/init.d/apache2 reload or restart

    The web showing The requested URL /squirrelmail was not found on this server.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the squirrelmail.conf file.
     
  5. leiw

    leiw Member

    Alias /squirrelmail /usr/share/squirrelmail
    Alias /webmail /usr/share/squirrelmail

    <Directory /usr/share/squirrelmail>
    Options FollowSymLinks
    <IfModule mod_php5.c>
    AddType application/x-httpd-php .php
    php_flag magic_quotes_gpc Off

    php_flag track_vars On
    php_admin_flag allow_url_fopen Off
    php_value include_path
    php_admin_value upload_tmp_dir /var/lib/squirrelmail/tmp
    php_admin_value open_basedir /usr/share/squirrelmail:/etc/squirrelmail:/var/lib/squirrelmail:/etc/hostname:/etc/mailname
    php_flag register_globals off
    </IfModule>
    <IfModule mod_dir.c>
    DirectoryIndex index.php
    </IfModule>

    # access to configtest is limited by default to prevent information leak
    <Files configtest.php>
    order deny,allow
    deny from all
    allow from 127.0.0.1
    </Files>
    </Directory>

    # users will prefer a simple URL like http://webmail.example.com
    #<VirtualHost 1.2.3.4>
    # DocumentRoot /usr/share/squirrelmail
    # ServerName webmail.example.com
    #</VirtualHost>

    # redirect to https when available (thanks [email protected])
    #
    # Note: There are multiple ways to do this, and which one is suitable for
    # your site's configuration depends. Consult the apache documentation if
    # you're unsure, as this example might not work everywhere.
    #
    #<IfModule mod_rewrite.c>
    # <IfModule mod_ssl.c>
    # <Location /squirrelmail>
    # RewriteEngine on
    # RewriteCond %{HTTPS} !^on$ [NC]
    # RewriteRule . https://%{HTTP_HOST}%{REQUEST_URI} [L]
    # </Location>
    # </IfModule>
    #</IfModule>
     
  6. leiw

    leiw Member

    Hello,

    Can someone help?

    Thanks
     
  7. srijan

    srijan New Member HowtoForge Supporter

    Hi

    which guide you have followed to configure the server?

    If it is Ubuntu 14.04, then please paste entry of

     
  8. leiw

    leiw Member

    Hi srijan,

    Thanks for help:

    root@ip-172-31-28-141:/var# ls -l /etc/apache2/conf-available/
    total 28
    -rw-r--r-- 1 root root 315 Jan 3 2014 charset.conf
    -rw-r--r-- 1 root root 127 Aug 11 2013 javascript-common.conf
    -rw-r--r-- 1 root root 3224 Jan 3 2014 localized-error-pages.conf
    -rw-r--r-- 1 root root 189 Jan 3 2014 other-vhosts-access-log.conf
    -rw-r--r-- 1 root root 1344 Sep 4 07:13 php5-cgi.conf
    -rw-r--r-- 1 root root 2190 Jan 3 2014 security.conf
    -rw-r--r-- 1 root root 455 Jan 7 2014 serve-cgi-bin.conf
     
  9. srijan

    srijan New Member HowtoForge Supporter

    Last edited: Sep 19, 2014
  10. leiw

    leiw Member

    OK, I will try it, can you give me easy Roundcube installation steps ?

    Thanks
     
  11. srijan

    srijan New Member HowtoForge Supporter

  12. leiw

    leiw Member

    Hi srijan, still no luck:

    root@ip-172-31-28-141:/etc/apache2/conf-available# ls -la
    total 36
    drwxr-xr-x 2 root root 4096 Sep 19 06:58 .
    drwxr-xr-x 8 root root 4096 Sep 19 06:56 ..
    -rw-r--r-- 1 root root 315 Jan 3 2014 charset.conf
    -rw-r--r-- 1 root root 127 Aug 11 2013 javascript-common.conf
    -rw-r--r-- 1 root root 3224 Jan 3 2014 localized-error-pages.conf
    -rw-r--r-- 1 root root 189 Jan 3 2014 other-vhosts-access-log.conf
    -rw-r--r-- 1 root root 1344 Sep 4 07:13 php5-cgi.conf
    -rw-r--r-- 1 root root 2190 Jan 3 2014 security.conf
    -rw-r--r-- 1 root root 455 Jan 7 2014 serve-cgi-bin.conf
    lrwxrwxrwx 1 root root 29 Sep 19 06:58 squirrelmail.conf -> /etc/squirrelmail/apache.
     
  13. leiw

    leiw Member

    Fixed with a2enconf squirrelmail ...

    Thanks !
     
  14. srijan

    srijan New Member HowtoForge Supporter

    That's good that your issue got resolved. It is a general advice to follow the guides published in the howto sections by word to word, as they are tested and published after all checks.
     
  15. leiw

    leiw Member

    Hi srijan,

    I have follow this link http://www.howtoforge.com/forums/sho...53&postcount=2 , to install Roundcube, after I use user email account to login Roundcube that show following error:

    Connection to storage server failed.

    I have search Google, someone said this problem is dovecot version issue, please help.

    Ubuntu 14.04 LTS is our Linux OS.

    Thanks
     
  16. leiw

    leiw Member

    Fixed, I forgot open IMAP 143 port on our AWS inbound firewall rule, thanks.
     

Share This Page