More than 1 email address per contact in Horde

rpvw

Well-Known Member
Jul 18, 2013
1,100
479
113
UK
cPanel Access Level
Root Administrator
Yes, that is irritating, and creates issues trying to sync with other mail applications and devices.

You might like to look at the roundcube address book that allows you to add as many email addresses as you want for each contact.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,270
463
Hello,

The following lines exist in the /usr/local/cpanel/base/horde/turba/config/backends.php file:

Code:
        'email' => 'object_email',
       // 'homeEmail' => 'object_homeemail',
       // 'workEmail' => 'object_workemail',
You can enable the additional lines for "home email" and "work email" so that those lines look like this:

Code:
        'email' => 'object_email',
        'homeEmail' => 'object_homeemail',
        'workEmail' => 'object_workemail',
Upon making this change, you can then add three separate email addresses when setting up contacts in Horde. Can you verify if that helps to address the issue? If so, you will need to setup a custom script that runs after each cPanel update to edit those lines, similar to how it's done on the comment from the following feature request:

Add a Tweak Setting when choosing Horde to turn HTML inline on or off

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,270
463
Hello,

Here's another post that provides a general guide to setting up a post upcp hook to ensure the changes are preserved through cPanel updates:

HELO name problem on roundcube

Thank you.
 

Christian-B

Member
Aug 5, 2017
5
1
3
Denmark
cPanel Access Level
Root Administrator
Does this looks correct:
Code:
replace "// 'homeEmail' => 'object_homeemail'," "'homeEmail' => 'object_homeemail'," -- /usr/local/cpanel/base/horde/turba/config/backends.php
replace "// 'workEmail' => 'object_workemail'," "'workEmail' => 'object_workemail'," -- /usr/local/cpanel/base/horde/turba/config/backends.php
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,270
463
Hello,

Yes, those entries look correct. I ran them as bash commands manually on a test system and they correctly updated the necessary lines.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,270
463