Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: Jáder on November 01, 2011, 11:48:58 PM
-
I´ve installed DIMP as a module for webmail (so I can choose IMP or DIMP).
Right now I´d like to hide IMP and use just DIMP or at least change default from IMP to DIMP at login screen.
Anyone know how to do this ?
Regards
Jáder
-
I´ve installed DIMP as a module for webmail (so I can choose IMP or DIMP).
Right now I´d like to hide IMP and use just DIMP or at least change default from IMP to DIMP at login screen.
Anyone know how to do this ?
This is not tested, but it might be as simple as overriding the location in a copy of VirtualHosts/30WebmailAliases in a custom-template.
For more information on templates and custom templates see the Developers Guide in the wiki.
-
This is not tested, but it might be as simple as overriding the location in a copy of VirtualHosts/30WebmailAliases in a custom-template.
For more information on templates and custom templates see the Developers Guide in the wiki.
Cactus
Hum... I don't think so...change there would point to another place in server.
I think what I need is to change the HORDE html generated to switch default client from IMP to DIMP.
I'm googling for it... but all same questions have no answer! :(
-
Cactus
Hum... I don't think so...change there would point to another place in server.
Yes, that is exaclty what it should do, or isn't /dimp the replacement of /imp?
I think what I need is to change the HORDE html generated to switch default client from IMP to DIMP.
Wouldn't my suggestion do that? Did you try?
-
Yes, that is exaclty what it should do, or isn't /dimp the replacement of /imp?
Wouldn't my suggestion do that? Did you try?
Cactus
It's possible to use this url: http:<server>/horde/dimp
I have webmail.domain pointing to http:server/webmail
I'll try to change on DNS from /webmail to /horde/dimp as a temporary fix.
This will help on external access using DNS resolution. For internal one, they will have to choose DIMP ... at least for now.
Regards
Jáder
-
I'll try to change on DNS from /webmail to /horde/dimp as a temporary fix.
This will help on external access using DNS resolution. For internal one, they will have to choose DIMP ... at least for now.
Why? If you just change the webmail alias to point to /dimp all users will by default have DIMP or am I missing something here?
IMHO this will only switch the /dimp for /imp leaving both access methods posssible, but the dimp one then default.
-
Cactus
You're rigth!
In a custom-template
cp /etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/30WebmailAliases /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/VirtualHosts/30WebmailAliases
vi /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/VirtualHosts/30WebmailAliases
changed the line
$dirs{webmail} = "$dirs{horde}/imp";
to
$dirs{webmail} = "$dirs{horde}/dimp";
And expand templates / restart service with:
expand-template /etc/httpd/conf/httpd.conf
service httpd-e-smith restart
And everything is fine!
Thank you by your help and persistence! ;)
Jáder
EDITED to let anyone knows I did changes on a custom-template fragment.
-
You're rigth!
I changed the line $dirs{webmail} = "$dirs{horde}/imp";
to
$dirs{webmail} = "$dirs{horde}/dimp";
In a custom template I presume? Otherwise your changes might get overwritten on updates.
Thank you by your help and persistence! ;)
You're welcome, I was (almost) sure this should work :)
-
Yes, sorry... I miss to tell you:
vi /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/VirtualHosts/30WebmailAliases
EDIT: original reply updated to have all changes on one single place
-
Yes, sorry... I miss to tell you:
vi /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/VirtualHosts/30WebmailAliases
Perfect, than you should be fine when upgrading.
-
cactus
I´ve seen another problem with the change: I´ve to login twice (one on dimp, another on imp).
Once I saw two toolbars on left after second login...
So I think this must done AND something must be changed on administrative interface.
I remember to have seen one place about what app is used to login (and there are IMP there!).
Jáder