Author Topic: global address book  (Read 8173 times)

Offline grepmaster

  • Newbie
  • *
  • Posts: 8
global address book
« on: October 01, 2010, 03:53:09 AM »
hi,

is there any way to edit the global address book on roundcubemail 0.4.1?
my main intention is to group hundreds of users to a alias.

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,856
global address book
« Reply #1 on: October 01, 2010, 01:18:06 PM »
if you set `$rcmail_config['globaladdressbook_readonly'] = false;` in the plugin's config then sure, any one can edit it.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline grepmaster

  • Newbie
  • *
  • Posts: 8
global address book
« Reply #2 on: October 04, 2010, 11:03:19 AM »
eventhough i can see global addressbook on roundcube version 0.4.1, but there is no globaladdressbook plugin folder in roundcube's plugin directory

anyway, I tried adding
$rcmail_config['globaladdressbook_readonly'] = false;

in config/main.inc.php but I still cannot see the option to edit the globaladdressbook & group users in that globaladdressbook

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,856
global address book
« Reply #3 on: October 05, 2010, 01:24:21 AM »
Quote
there is no globaladdressbook plugin folder in roundcube's plugin directory
then you are not using the globaladdressbook plugin, check your configs and find out where it is getting that addressbook from.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline grepmaster

  • Newbie
  • *
  • Posts: 8
global address book
« Reply #4 on: October 05, 2010, 08:07:21 AM »
when i searched for addressbook, i could only fond these & there's no globaladdressbook stated
Code: [Select]
# grep -r addressbook /var/www/roundcubemail/config/
/var/www/roundcubemail/config/main.inc.php.dist:// An ordered array of the ids of the addressbooks that should be searched
/var/www/roundcubemail/config/main.inc.php.dist:$rcmail_config['autocomplete_addressbooks'] = array('sql');
/var/www/roundcubemail/config/main.inc.php:'compose_addressbook',
/var/www/roundcubemail/config/main.inc.php:'sharedaddressbook'
/var/www/roundcubemail/config/main.inc.php:// An ordered array of the ids of the addressbooks that should be searched
/var/www/roundcubemail/config/main.inc.php:$rcmail_config['autocomplete_addressbooks'] = array('sql', 'hpj.gov.my');


although I can see there's a global addressbook on my webmail (refer to attachment)

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
global address book
« Reply #5 on: October 05, 2010, 11:22:59 AM »
You seem to be looking at a different install of RoundCube, I noticed in your search that your path was: /var/www/roundcubemail/config/ however the url in the screen shot is [ip]/webmail/

Offline grepmaster

  • Newbie
  • *
  • Posts: 8
global address book
« Reply #6 on: October 05, 2010, 11:43:22 AM »
Quote from: skaero;30576
You seem to be looking at a different install of RoundCube, I noticed in your search that your path was: /var/www/roundcubemail/config/ however the url in the screen shot is [ip]/webmail/


it's only an alias

Code: [Select]
# cat /etc/httpd/conf.d/roundcubemail.conf

Alias /mail "/var/www/roundcubemail/"
Alias /webmail "/var/www/roundcubemail/"
Alias /roundcube "/var/www/roundcubemail/"
<Directory &quot;/var/www/roundcubemail/&quot;>
    Options -Indexes
</Directory>

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,856
global address book
« Reply #7 on: October 05, 2010, 01:02:02 PM »
my guess is that its the sharedaddressbook plugin
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline grepmaster

  • Newbie
  • *
  • Posts: 8
global address book
« Reply #8 on: October 05, 2010, 10:04:10 PM »
Quote from: JohnDoh;30584
my guess is that its the sharedaddressbook plugin


i forgot to mention that this a from iRedMail 0.6.1 installation. The globaladdressbook is there even before the shareaddressbook was there and I'm using ldap authentication

Offline corbosman

  • Sr. Member
  • ****
  • Posts: 260
global address book
« Reply #9 on: October 06, 2010, 04:11:09 AM »
Doesnt rc read a second config file as well, overriding the first?