Dear all,

I'm having several problems making SquirrelMail 1.4.3 work with OpenBSD
3.5's chrooted Apache. There were no problems as long as I ran Apache
without chrooting it.

I'm pretty sure the main issue is that SM_PATH does not get passed to
SquirrelMail properly. This naturally causes bunch of problems: some
plug-ins won't work at all, some seem to work fine.

The GPG plug-in says something that might help to track the problem
down: "unable to define SM_PATH in GPG Plugin setup.php, exiting
abnormally". In beginning of setup.php, there are the typical lines
related to SM_PATH:

if (!defined (SM_PATH)){
    if (file_exists('./gpg_functions.php')){
        define (SM_PATH , '../../');
    } elseif (file_exists('../plugins/gpg/gpg_functions.php')) {
        define (SM_PATH, '../');
    } elseif (file_exists('../gpg_functions.php')){
        define (SM_PATH , '../../../');
    } elseif (file_exists('../../plugins/gpg/gpg_functions.php')){
        define (SM_PATH , '../../../../');
    } else echo "unable to define SM_PATH in GPG Plugin setup.php, exiting abnormally";
}

I guess the error message means, that defining SM_PATH is for some
reason really not possible. I suppose this has to do something with
restrictions OpenBSD's Apache applies when it's chrooted.

Is there anyone out there who has managed to get the Squirrel work with
OpenBSD properly? I'd love to get some advice from such guru. =)

Thanks in advance!

- Jyri

##################################################################
# This message has been checked for viruses using Qmail-Scanner. #
# http://www.turvamies.fi                                        #
##################################################################


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to