search for: mailbox_is_readonly

Displaying 4 results from an estimated 4 matches for "mailbox_is_readonly".

2010 May 20
1
Patch for logging variables
...lude "imap-expunge.h" ! int imap_expunge(struct mailbox *box, struct mail_search_arg *next_search_arg) { struct mail_search_context *ctx; struct mailbox_transaction_context *t; struct mail *mail; struct mail_search_args *search_args; bool expunges = FALSE; if (mailbox_is_readonly(box)) { /* silently ignore */ return 0; --- 5,21 ---- #include "mail-search-build.h" #include "imap-expunge.h" ! int imap_expunge(struct client *client, struct mail_search_arg *next_search_arg) { struct mail_search_context *ctx; struct mailbox_transac...
2010 May 19
1
logging
I am looking through the logging options and wondering if there are a couple of things that we can do 1. Logouts don't seem to show the IP address of the logout, we typically see multiple sessions at a time and wondering if there is a way to tie the logouts to an IP 2. POP logouts show the number of messages retrieved/deleted but I don't see a way to do this with IMAP, is there a logout
2010 May 20
1
Permanent flags not announced and public mailbox with per-user index
...think (reading the RFC, but I bet you know it better than me) that FLAGS should also been set in PERMANENTFLAGS since they can be permanent. The relevant code seems to be in commands-util.c (dovecot 1.2.11): void client_send_mailbox_flags(struct client *client, bool selecting) { [?] if (mailbox_is_readonly(client->mailbox)) { client_send_line(client, "* OK [PERMANENTFLAGS ()] " "Read-only mailbox."); } else { [?] } } Even if it's true that the Maildir is read-only, it's still possible to store \Seen permanently. Am I getting things wrong, or is this...
2005 Aug 24
0
verbose imap logging
...t-1.0.alpha1.orig/src/imap/cmd-close.c dovecot-1.0.alpha1/src/imap/cmd-close.c --- dovecot-1.0.alpha1.orig/src/imap/cmd-close.c 2005-03-08 21:26:55.000000000 +0100 +++ dovecot-1.0.alpha1/src/imap/cmd-close.c 2005-08-23 10:39:08.000000000 +0200 @@ -17,7 +17,7 @@ client->mailbox = NULL; if (!mailbox_is_readonly(mailbox)) { - if (!imap_expunge(mailbox, NULL)) + if (!imap_expunge(mailbox, NULL, client)) client_send_untagged_storage_error(client, storage); } diff -ur dovecot-1.0.alpha1.orig/src/imap/cmd-expunge.c dovecot-1.0.alpha1/src/imap/cmd-expunge.c --- dovecot-1.0.alpha1.orig/src/imap/cmd-exp...