Lines Matching refs:prefix
58 wildcardp = strchr(ns->prefix, '%');
60 *error_r = "Shared namespace prefix doesn't contain %";
77 *error_r = "Shared namespace prefix contains unknown variables";
81 *error_r = "Shared namespace prefix doesn't contain %u or %n";
87 *error_r = "Shared namespace prefix doesn't end with hierarchy separator";
91 /* truncate prefix after the above checks are done, so they can log
92 the full prefix in error conditions */
94 ns->prefix_len = strlen(ns->prefix);
145 string_t *prefix, *location;
185 /* trying to open <prefix>/<user> mailbox */
189 "Invalid namespace prefix %s vs %s",
207 namespace prefix. */
225 /* expand the namespace prefix and see if it already exists.
235 prefix = t_str_new(128);
236 str_append(prefix, ns->prefix);
237 if (var_expand(prefix, storage->ns_prefix_pattern, tab, &error) <= 0) {
239 "Failed to expand namespace prefix '%s': %s",
244 *_ns = mail_namespace_find_prefix(user->namespaces, str_c(prefix));
247 t_strconcat(ns->prefix, name, NULL));
262 ns->prefix, userdomain, error);
274 ns->prefix, userdomain);
294 new_ns->prefix = i_strdup(str_c(prefix));
315 ns_set->prefix = new_ns->prefix;
328 /* We need to create a prefix="" namespace for the owner */
338 new_ns->prefix, error);
352 t_strconcat(new_ns->prefix, name, NULL));