search for: message_count

Displaying 8 results from an estimated 8 matches for "message_count".

Did you mean: messages_count
2013 Jul 12
0
A sqlite-based quota dict
...e that, in the case of a sqlite DB (and probably a pgsql DB -- as well), Dovecot will *always* act along these lines: -- In case of a "row creation": -- INSERT INTO quota (subject, byte_count) -- VALUES (<some id>, <byte count>); -- INSERT INTO quota (subject, message_count) -- VALUES (<some id>, <msg count>); -- In case of a recalculation: -- UPDATE quota -- SET byte_count = byte_count + <byte count diff>, -- message_count = message_count + <msg count diff> -- WHERE subject = <some id>; -- In case of a row de...
2007 Oct 09
1
SpamAssassin and Public Namespace
...Debug => $debug ); if (!defined($imap)) { die "IMAP Login Failed"; } # If debugging, print out the total counts for each mailbox if ($debug) { foreach my $foldername ($imap->folders) { my $number_of_messages = $imap->message_count( $foldername ); print $foldername, " is imap folder\n"; }* my $spamcount = $imap->message_count('Filter/Spam');* print $spamcount, " Spam to process\n"; * my $nonspamcount = $imap->message_count('Filter/Non-Spam');* print $nonspamcount, &q...
2006 Mar 19
1
Rendering Partials w/Collections - is there a way to find the position?
This seems obvious, but I wasn''t able to find info on it easily. If you are rendering a partial from a collection: <%= render :partial => ''message'', :collection => @messages %> Is there a way inside the partial to tell what item in the collection you are on? For example, if I am in the first element in the collection, I want to do something different?
2012 Jul 11
1
MySQL dict issues
...t: connect = host=a.b.c.d dbname=mail user=user password=derp map { pattern = priv/quota/storage table = domain_user_quotas username_field = username value_field = bytes } map { pattern = priv/quota/messages table = domain_user_quotas username_field = username value_field = message_count } The last issue might be a documentation omission. Dovecot warned me that the mysql user did not have DELETE privileges on the quota table: dovecot: dict: Error: sql dict: commit failed: DELETE command denied to user 'user'@'a.b.c.d' for table 'domain_user_quotas' The...
2019 Jul 30
0
dovecot/imap crashes on Centos 7
...esult = 0x0, mime_part = 0x0}, initialized = {search_args = 0x0, keywords = 0x0,? ??? ? ? ? ? ? mailbox_glob = 0x0}, context = 0x0, hdr_field_name = 0x0, match_not = 0,? ? ? ? ? ? ? ? ? ??? ? ? ? ? match_always = 0, nonmatch_always = 0, fuzzy = 0, no_fts = 0, result = -1}? ? ? ? ? ? ? ? ? ??? ? ? ? message_count = 160? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? ? ? ? ret = <optimized out>? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? ? ? ? __FUNCTION__ = "index_search_result_update_appends"? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?...
2019 Oct 10
0
Dovecot core debug
...IL_THREAD_NONE, modseq = 0x0, search_result = 0x0, mime_part = 0x0}, initialized = {search_args = 0x0, keywords = 0x0, mailbox_glob = 0x0}, context = 0x0, hdr_field_name = 0x0, match_not = 0, match_always = 0, nonmatch_always = 0, fuzzy = 0, no_fts = 0, result = -1} message_count = 2008 ret = <optimized out> __FUNCTION__ = "index_search_result_update_appends" #6 0x00007f8d4096dc37 in search_result_update (result=0x557be80cc150, ctx=0x557be7ff8950) at index-sync-search.c:78 No locals. #7 index_sync_search_results_update (ctx=ctx at entr...
2012 Jun 15
3
doveadm backup panic
using latest auto build didn't help. this happens only with a specific account. # doveadm -o imapc_user=----- at domain.com -o imapc_password=---- backup -u =----- at domain.com -R imapc: dsync(---- at domain.com): Panic: pool_data_stack_realloc(): stack frame changed dsync(---- at domain.com): Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x4209a) [0xb762b09a] ->
2018 Feb 23
2
Assertion during dsync receive
...field_seen = 0x1c0ea70, bitmask_pos = {arr = {buffer = 0x1bcdec0, element_size = 4}, v = 0x1bcdec0, v_modifiable = 0x1bcdec0}, field_file_map = 0x1bcde20, field_seen_value = 141 '\215', new_msg = true} cache_view = 0x1c19230 cache_rec = {prev_offset = 0, size = 876} message_count = 1217766 seq = <optimized out> used_fields_count = <optimized out> orig_fields_count = 33 idx_hdr = <optimized out> #7 mail_cache_compress_write (unlock=<synthetic pointer>, temp_path=0x1bcddd0 "/gnoc/mail/home/bgeels/mail/mailboxes/Spa...