SOLVED What's the proper way to download Horde rpm?

timesurfer

Well-Known Member
Apr 16, 2019
67
13
8
Portugal
cPanel Access Level
Root Administrator
Hi,

What's the proper way to download the Horde rpm?

My goal is only to download only the package, not installing it, and then move it to another machine and there extract it, so I can confirm some Horde config files are exactly like the original ones, as for example, this files:
/Horde/config/conf.php
/Horde/config/registry.php
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,301
363
Houston
You can find the horde related packages on your system with the following:

Code:
rpm -qa |grep -i horde
There's more than just one though, instead you might just want to reinstall horde on the system you're experiencing an issue with, the specific package is cpanel-php73-webmail.noarch
 

timesurfer

Well-Known Member
Apr 16, 2019
67
13
8
Portugal
cPanel Access Level
Root Administrator
You can find the horde related packages on your system with the following:
Code:
rpm -qa |grep -i horde
Thank you.
This command works great.
It lists all Horde packages on my system.
But, I couldn't locate the directory where those packages are on my system.
Is there a way to accomplish that?
Or am I thinking wrong and rpm don't work this way?

Maybe I should just download a backup of my horde diretory to my desktop, and reinstall the package "cpanel-php73-webmail.noarch" in my server?

That way, afterwards I could also download the new horde directory to my desktop, and then compare the two horde directories and see the diferences with tools to compare directories and files.

I really could use some advice here.

I can make a snapshot to my server VPS and try some solution.
If it doesn't work, I can revert it in just some minutes.
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,301
363
Houston
What exactly are you trying to compare them for? All cPanel provided packages should be the same on any device. Reinstalling the package won't make any modifications to your mail or email accounts.

To view the contents of an RPM:

Code:
$ rpm -ql packagename
This will also give you the path they're present in
 

timesurfer

Well-Known Member
Apr 16, 2019
67
13
8
Portugal
cPanel Access Level
Root Administrator
To view the contents of an RPM:
Code:
$ rpm -ql packagename
This will also give you the path they're present in
Thank you.
It works and it is very useful.

What exactly are you trying to compare them for?
I am trying to compare them to see if there the changes I made to some config files.
I have taken notes, but I want to be sure I haven't forgotten anything.

For example, in order to show emails in HTML by default, I have changed the 3 files:

/horde/imp/config/prefs.php
Block images in messages unless they are specifically requested to be loaded
set value from "1" to "0"

/horde/imp/config/mime_drivers.php
in the part where it has "HTML driver settings"
I have changed it from "false" to "true"

and in file
/horde/config/mime_drivers.php
in the part where it has "HTML display"
I also have changed it from "false" to "true"

Reinstalling the package won't make any modifications to your mail or email accounts.
Thank you for clarifying that.

You have been much helpfull.
Please mark this thread as solved, as I don't know how to do it.

Regards
 
  • Like
Reactions: cPanelLauren