Dear all,
since on my system not all the webmail users have a personal
local directory I wanted to set a system wide $default_folder_prefix
directory where all the $username subfolders should go.

I'm setting up version 1.4.4 and it doesn't seem to be possible, as far
as I see, all the INBOX subfolders are placed in

        $HOME/ . $default_folder_prefix .


I managed to do it myself by modifying one line of code in the file

        include/load_prefs.php

the line was:

$folder_prefix = getPref($data_dir, $username, 'folder_prefix', $default_folder_prefix);

my line is now:

$folder_prefix = getPref($data_dir, $username, 'folder_prefix', $system_folder_prefix . $username . $default_folder_prefix);

obviously I added the variable $system_folder_prefix in config.php .

Basically now all the INBOX... files are stored in the same base-dir for
all users (with ugly drwxrwxrwt permissions - security flaw?):

        $system_folder_prefix/$username/$default_folder_prefix


This seems to work flawleesy but I don't like modifying the code because I'll try in future to reamin in synch with new releases.

So, I'm asking developers (hope to have choosen the right mailing list)
if it would be possible to add such a "feature".



Thanks for your excellent work with the tool and regards,
nIc


------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 -- squirrelmail-users mailing list Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines List Address: [email protected] List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user 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