search for: mailbox_status

Displaying 9 results from an estimated 9 matches for "mailbox_status".

2012 May 29
4
per-mailbox message limits
...ail_storage_module_register = { 0 }; struct mail_module_register mail_module_register = { 0 }; @@ -1620,22 +1621,28 @@ ctx->dest_mail = mail; } int mailbox_save_begin(struct mail_save_context **ctx, struct istream *input) { struct mailbox *box = (*ctx)->transaction->box; + struct mailbox_status status; int ret; if (mail_index_is_deleted(box->index)) { mailbox_set_deleted(box); return -1; } if (!(*ctx)->copying_via_save) (*ctx)->saving = TRUE; - if (box->v.save_begin == NULL) { + mailbox_get_status(box, STATUS_MESSAGES, &status); + if (status.messages &...
2003 Jun 03
1
error
hi, I've got the following alert window in mozilla (with dovecot): --------------------------------------- The current command did not succeed. The mail server responded: Error in IMAP command: Too long argument.. --------------------------------------- although there is not any messages in my imap.log file. -- Levente "Si vis pacem para bellum!"
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:
2007 Aug 17
1
dovecot notifying a database about total number of messages.
Hello, in addition to our mail system, we have some other systems which needs to know how many messages, and how many unread messages, a user has in his/her inbox (maildir). Currently, we have a mod_perl script which takes a mail address as input, and then traverses the maildir, and outputs the number of unread messages. Our challenge is that the maildirs are located on a SAN, and traversing a
2010 Feb 20
1
v2.0.beta3 released
...close() renamed to mailbox_free(). added a different mailbox_close(), which only closes opened mailbox, but doesn't free it. - mailbox_delete(), mailbox_rename() APIs changed - notify plugin's delete/rename API changed as well - mailbox GUID is now looked up using mailbox_get_guid(), not mailbox_status() - dict_iterate*() API changed -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20100220/83b5cd...
2010 Feb 20
1
v2.0.beta3 released
...close() renamed to mailbox_free(). added a different mailbox_close(), which only closes opened mailbox, but doesn't free it. - mailbox_delete(), mailbox_rename() APIs changed - notify plugin's delete/rename API changed as well - mailbox GUID is now looked up using mailbox_get_guid(), not mailbox_status() - dict_iterate*() API changed -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20100220/83b5cd...
2007 Aug 07
1
Dovecot 1.1alpha2 - (imap) killed with signal 10
...b98 list = <value optimized out> ilist = <value optimized out> view = <value optimized out> tmp_status = {messages = 247, recent = 0, unseen = 0, uidvalidity = 1179084420, uidnext = 248, first_unseen_seq = 0, keywords = 0x0} status = (struct mailbox_status *) 0xffb3d594 uid = <value optimized out> seq = <value optimized out> #4 0x0007f57c in mailbox_sync_deinit (_ctx=0xffb3d6b4, status_items=0, status_r=0x0) at mail-storage.c:509 ctx = (struct mailbox_sync_context *) 0x0 #5 0x0002f078 in imap_sync_nonselected (bo...
2016 Oct 12
2
Detect IMAP server domain name in Dovecot IMAP proxy
I?m in the process of setting up a Dovecot IMAP proxy to handle a number of IMAP server domains. At the current time, I have my users divided into 70 different groups of users (call them G1 to G70). I want each group to configure their email client to access their mailboxes at a domain name based on the group they belong to (e.g., g1.example.com <http://g1.example.com/>, g2.example.com
2010 Apr 09
4
Patch: support URLAUTH, BURL, CATENATE
...ctx->url), + "] ", error, NULL)); + return error == NULL && !toobig; +} + +static bool catenate_url(struct cmd_append_context *ctx, const char *url) +{ + struct imap_url_parts enc_parts, dec_parts; + const char *error = NULL; + struct catenate_fetch_context cfctx; + struct mailbox_status status; + string_t *fetch_text; + const struct imap_arg *fetch_args = NULL, *next_arg = NULL; + int fetch_ret, flush_ret, ret; + bool header, toobig; + uoff_t size; + + /* parse, decode, and validate the url */ + memset(&enc_parts, 0, sizeof enc_parts); + memset(&dec_parts, 0, sizeof dec_pa...