Squirrelmail issue
Hi Guys,
I am fairly new to OSX Server. Have recently had to set up a Mac Mini server that has primary been used for the past 4 years as a FileMaker Pro ticketing software server. I have been requested to it set up as a mail server, and its working fine for the most part, IMAP connecting and mail flowing normally, the issue is with webmail. From the Apple manuals, it seems as though as soon as you create a site under Web services and enable webmail, you should be able to browse to http://your-site.com/webmail and get the login screen. This is just not happening for me. On connecting to the website, a file called 'webmail' is downloaded and thats all, no html code is executed.
The file contains the following..
<?php
/**
* index.php
*
* Redirects to the login page.
*
* @copyright 1999-2010 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id: index.php 13893 2010-01-25 02:47:41Z pdontthink $
* @package squirrelmail
*/
// Are we configured yet?
if( ! file_exists ( 'config/config.php' ) ) {
echo '<html><body><p><strong>ERROR:</strong> Config file ' .
'"<tt>config/config.php</tt>" 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');
?>
Am i missing something, or is there some corruption somewhere?
Thanks, Andrew