Roundcube Community Forum

 

global address book

Started by grepmaster, October 01, 2010, 03:53:09 AM

Previous topic - Next topic

grepmaster

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.

JohnDoh

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...

grepmaster

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

JohnDoh

Quotethere 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...

grepmaster

when i searched for addressbook, i could only fond these & there's no globaladdressbook stated
# 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)

SKaero

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/

grepmaster

Quote from: skaero;30576You 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

# 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>

JohnDoh

my guess is that its the sharedaddressbook plugin
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

grepmaster

Quote from: JohnDoh;30584my 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

corbosman

Doesnt rc read a second config file as well, overriding the first?