In config_getoverflowstring(): /* First lookup <ident>_key, to see if we have a service-specific * override */
if (config_ident) { if (snprintf(buf,sizeof(buf),"%s_%s",config_ident,key) == -1) fatal("key too long in config_getoverflowstring", EC_TEMPFAIL); lcase(buf); ret = hash_lookup(buf, &confighash); } On 06/14/2016 09:35 PM, ellie timoney via Cyrus-devel wrote:
Bits of our documentation refer to these various service-specific admins settings, and googling a bit I see a bunch of people using them in the imapd.confs they post when asking for help with stuff. But I went looking for where/how they're implemented (to see what was needed to support the same sort of thing for backups) and-- this functionality doesn't seem to exist anywhere in our source? I was expecting to find something building a config key from a service name plus "admins" and then using config_getoverflowstring to check for it (like how the channel-specific config keys for sync_client work) but... nothing. Is this a thing that used to exist, and we've removed it at some point for some reason? Is it a thing that was planned and documented, but never implemented? Am I missing something?
-- Kenneth Murchison Principal Systems Software Engineer Carnegie Mellon University