Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: daley on November 10, 2002, 11:26:04 AM
-
Hi All,
Does anyone knows how to remove the "Folder Prefix" out from the SME 5.5 webmail page? similarly like https://www.familybrown.org/webmail, this is not to confuse users when logging to the webmail.
Kindly advise.
Regards,
Daley
-
simply upgrade the horde/imp to 3,0
http://www.familybrown.org/howtos/imp-upgrade.html
-
Um, Peter, SME 5.5 already has IMP 3.0. An upgrade wouldn't do much good.
Daley, take a look at /home/httpd/html/horde/imp/config/conf.php. You'll probably see a line that looks like this:
$conf['server']['change_folders'] = true;
Change it to:
$conf['server']['change_folders'] = false;
Really, this should probably be done in the templates as well.
-
Hi Dan,
Is below statement correct? kindly advise...
Regards,
Daley
# Make a copy in the custom area of the template fragment i need to change
mkdir -p /etc/e-smith/templates-custom/home/httpd/html/horde/imp/config/conf.php
cp /home/httpd/html/horde/imp/config/conf.php /etc/e-smith/templates-custom/home/httpd/html/horde/imp/config/conf.php
# Edit in place the new template fragment
vi config.php
// If we are not using the server list, should we allow to hidden
// prefix folder in webmail interface page?
$conf['server']['change_folders'] = false;
# Expand the templated configuration file.
/sbin/e-smith/signal-event console-save
-
Mostly, except that instead of copying all of conf.php there, you'd want to copy the appropriate fragment from /etc/e-smith/templates/home/httpd/html/horde/imp/config/conf.php. I don't know which one that is; I don't have a 5.5 installation here. If you go to that directory and do 'grep change_folders *', you should find it pretty quickly, though.
Oh, and I prefer pico, but that doesn't make much difference.
You could do console-save, but it's really overkill. Try expand-template instead:
# /sbin/e-smith/expand-template /home/httpd/html/horde/imp/config/conf.php
-
Dan,
In fact, i think it doesn't really exist in /home/httpd/html/horde/imp/config/config.php, accroding to the grep result...
# more config.php | grep change
$conf['server']['change_server'] = false;
$conf['server']['change_port'] = false;
$conf['server']['change_protocol'] = false;
Regards,
Daley
-
OK, well, in that case I don't know--I'm running IMP 3.1 on my machine and the setting is there. Maybe IMP 3.0 doesn't support it. But the file is conf.php, not config.php.
-
Opssss.... is conf.php NOT config.php, sorry.... anyway, i will try then it.
Regards,
Daley