Displaying 2 results from an estimated 2 matches for "client_verify_mailbox_name".
2004 Sep 04
1
1.0-test39
http://dovecot.org/test/
Fixes several crashes. Apparently can still break with mboxes, although
it works with me..
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL:
2010 Apr 09
4
Patch: support URLAUTH, BURL, CATENATE
...+
+ // username and servername must match
+ if (strcmp(dec_parts.user, cmd->client->user->username) != 0 ||
+ strcmp(dec_parts.hostport, hostport) != 0) {
+ client_send_command_error(cmd, "User/server mismatch.");
+ return TRUE;
+ }
+
+ // mailbox must exist
+ if (!client_verify_mailbox_name(cmd, dec_parts.mailbox,
+ CLIENT_VERIFY_MAILBOX_SHOULD_EXIST))
+ return TRUE;
+
+ // get the access key
+ mailbox = dec_parts.mailbox;
+ storage = client_find_storage(cmd, &mailbox);
+ if (storage == NULL)
+ return TRUE;
+ key = buffer_create_static_hard(pool_datastack_create(),
+...