> OK, I used the recursive CHMOD 777 as suggested, but
> still no dice.
>
> But why does the error message use the
> "###VIRTUAL_DOMAIN###" magic string instead of the
> actual domain name?
>
>> > 'data_dir' => '/usr/www/sites/webmail/sqm/###VIRTUAL_DOMAIN###/data',
>> >
>> > Error opening ../data/default_pref
>> > Could not create initial preference file!
>> >
>> > '/usr/www/sites/webmail/sqm/###VIRTUAL_DOMAIN###/data'
>> > should be writable by user nobody
Sorry, missed that.
Around line 255 of functions.php, find these five lines:
if (in_array('data_dir',
array_keys($virtualDomains[$virtualDomain]))) {
if ($useSessionBased)
$config_override['data_dir'] =
$virtualDomains[$virtualDomain]['data_dir'];
else
$data_dir = $virtualDomains[$virtualDomain]['data_dir'];
Please simply comment them out by putting two slashes in front of each line:
// if (in_array('data_dir',
array_keys($virtualDomains[$virtualDomain]))) {
// if ($useSessionBased)
// $config_override['data_dir'] =
$virtualDomains[$virtualDomain]['data_dir'];
// else
// $data_dir = $virtualDomains[$virtualDomain]['data_dir'];
How's that?
- Paul
-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id)95
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users