Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: bloodshoteye on January 16, 2009, 08:31:31 PM
-
Hi all,
Despite trawling the forum & documentation, I can't seem to find the correct command to restart mail services after creating a custom Horde template, specifically:
/etc/e-smith/templates-custom/home/httpd/html/horde/config/mime_drivers.php/160html
Would someone help out with the syntax or please point me in the right direction?
Much obliged,
-
Would someone help out with the syntax or please point me in the right direction?
Much obliged,
That is only the template fragment. You would need to recreate the configuration file like this:
expand-template /home/httpd/html/horde/config/mime_drivers.php
Not sure if horde uses (precompiled) templates that need to be cleared out.
-
cactus, excuse delay in replying.
I did as you suggested, but still can't view html mail.
The 160html custom template has this edit:
'inline' => false,
changed to this:
'inline' => true,
Afterwards I did signal-event post-upgrade; signal-event reboot as well, but still no html mail. I wonder?
-
Can you see if templates are expanded without errors?
Look at:
/home/httpd/html/horde/config/mime_drivers.php
You will see 'inline' => true,
BUT if you look at the header of /home/httpd/html/horde/imp/config/mime_drivers.php you see that IMP settings override horde settings. SO you must modify IMP mime_drivers.php template.
-
BUT if you look at the header of /home/httpd/html/horde/imp/config/mime_drivers.php you see that IMP settings override horde settings. SO you must modify IMP mime_drivers.php template.
AFAIK that is what OP is trying to do.
-
AFAIK that is what OP is trying to do.
Exactly
-
AFAIK that is what OP is trying to do.
yes.. but he's working on the wrong file.. OP is working on /home/httpd/html/horde/config/mime_drivers.php and not on
/home/httpd/html/horde/imp/config/mime_drivers.php as Normando said.. :-)
Ciao
Stefano
-
OK, I'll make the change presently.
-
yes.. but he's working on the wrong file.. OP is working on /home/httpd/html/horde/config/mime_drivers.php and not on
/home/httpd/html/horde/imp/config/mime_drivers.php as Normando said.. :-)
Oops, you are right, sorry.
-
Thanks for all the advice - Stefano a.k.a. nenonano provided the finishing touch.
I now have inline HTML after making the change to:
/etc/e-smith/templates-custom/home/httpd/html/horde/imp/config/mime_drivers.php
and doing expand-template on:
/home/httpd/html/horde/imp/config/mime_drivers.php
Does this principal follow for all the configs in Horde?
Many users at this site are now extremely chuffed :-)