squirrelmail problem

Discussion in 'Server Operation' started by lan5, Jul 8, 2006.

  1. lan5

    lan5 New Member

    hi everybody

    am configuring webmail using squirrel mail ive sendmail as my mta,
    dovecote imap on fedoracore 4 and ithink ive installed squirrel mail propery and configure the ./config.pl script
    i ve configure a virtual host in my apache httpd.conf for this link;
    mail.mydomain.net
    all this loads but instead of getting a login sreen i get ablank screen
    yet i see i see aredirrection to mail.mydomain.net/src/login.php
    ve main /usr/share/src/squirrelmail/ the documentroot for my virtual
    host..
    any suggestions pleeeeeeeease
    thanx!!!!!!!!!

    * ability not possibility*
     
  2. Hans

    Hans Moderator Moderator

    I am not sure about the case of your problem, probably it is your configuration of squirrelmail...
    Of course, i suppose that your system requirements to run Squirrelmail are correct.
    Maybe this article helps you on the right track anyway:

    Create a data directory and attachements directory.
    In my example the names of these directories are: sqmdata & sqmattachements.

    For security reasons, create them outsite your web for squirrelmail.
    Creating these two directories in /var/www is a good idea.

    Make these new directories writebable for Apache, you have to make the Squirrelmail data directory and attachements directory writeable for Apache.

    In Debian you can do that with these commands:

    chown -R www-data:www-data sqmdata
    chown -R www-data:www-data sqmattachments
    chmod 300 sqmdata


    The names "www-data", might differ on other Linux distros.

    Then startup the configuration program in de config directory of Squirrelmail with the command conf.pl

    There you have to define the locations of the sqmdata and sqmattachments directories.

    I refer to this documentation: http://www.squirrelmail.org/wiki/ChangingDirectoryPermissions


    An other possibility might be that the index.php file does not redirect correctly to your Squirrelmail login screen/site...

    I hope this article helps you.
    If not, maybe others can give you some support in this forum.
     
    Last edited: Jul 9, 2006
  3. HEBEH

    HEBEH New Member

    squirrel mail problem - newbie i am

    after installing squirrelmail, when i've tried to access the login page, i've received following screen:

    http://192.168.26.33/webmail/


    <?php

    /**
    * index.php
    *
    * Redirects to the login page.
    *
    * @copyright &copy; 1999-2006 The SquirrelMail Project Team
    * @license http://opensource.org/licenses/gpl-license.php GNU Public License
    * @version $Id: index.php,v 1.14.2.7 2006/02/03 22:27:46 jervfors Exp $
    * @package squirrelmail
    */

    // Are we configured yet?
    if( ! file_exists ( 'config/config.php' ) ) {
    echo '<html><body><p><strong>ERROR:</strong> Config file ' .
    '&quot;<tt>config/config.php</tt>&quot; not found. You need to ' .
    'configure SquirrelMail before you can use it.</p></body></html>';
    exit;
    }

    // If we are, go ahead to the login page.
    header('Location: src/login.php');

    ?>

    please tell me what have i done wrong ?
    i need to understand.
    thanx in advance.
     
  4. falko

    falko Super Moderator Howtoforge Staff

    How did you set up the server? Did you use a HowtoForge tutorial? If so, which one (URL)?
     
  5. HEBEH

    HEBEH New Member

    squirrel



    i've used this one:


    Perfect system Centos 5.2 with ISPConfig 3
     
  6. falko

    falko Super Moderator Howtoforge Staff

    You need to install SquirrelMail manually in a web site for which PHP is enabled. Or you install the SquirrelMail pkg package from ispconfig.org.
     

Share This Page