PDA

View Full Version : squirrelmail problem


lan5
8th July 2006, 19:58
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*

Hans
8th July 2006, 20:53
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.

HEBEH
8th June 2009, 15:40
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.

falko
9th June 2009, 17:31
How did you set up the server? Did you use a HowtoForge tutorial? If so, which one (URL)?

HEBEH
15th June 2009, 21:35
How did you set up the server? Did you use a HowtoForge tutorial? If so, which one (URL)?



i've used this one:


Perfect system Centos 5.2 with ISPConfig 3

falko
16th June 2009, 17:32
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.