Koozali.org: home of the SME Server

SME 5.5 Webmail Interface

daley

SME 5.5 Webmail Interface
« 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

Peter Olsen

Re: SME 5.5 Webmail Interface
« Reply #1 on: November 17, 2002, 11:40:45 PM »
simply upgrade the horde/imp to 3,0
http://www.familybrown.org/howtos/imp-upgrade.html

Dan Brown

Re: SME 5.5 Webmail Interface
« Reply #2 on: November 18, 2002, 12:01:23 AM »
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.

daley

Re: SME 5.5 Webmail Interface
« Reply #3 on: November 18, 2002, 04:04:04 PM »
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

Dan Brown

Re: SME 5.5 Webmail Interface
« Reply #4 on: November 18, 2002, 04:11:18 PM »
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

daley

Re: SME 5.5 Webmail Interface
« Reply #5 on: November 18, 2002, 05:05:15 PM »
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

Dan Brown

Re: SME 5.5 Webmail Interface
« Reply #6 on: November 18, 2002, 05:16:21 PM »
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.

daley

Re: SME 5.5 Webmail Interface
« Reply #7 on: November 18, 2002, 05:24:17 PM »
Opssss.... is conf.php NOT config.php, sorry.... anyway, i will try then it.

Regards,
Daley