search for: emexis

Displaying 3 results from an estimated 3 matches for "emexis".

2012 Feb 23
1
Creating and interacting with array inside plugin
...from dovecot that expunged a message, that's Ok. Follow the quota, it's use a array to keep all uids from a email expunged, to compare with uid that is got in notify_sync, that's OK too, but to me i need to keep uid and a char* with my body name, to erase it too. I made this: struct emexis_ids_x_uis{ uint32_t ids; char *uis_file; }; struct emexis_mailbox { union mailbox_module_context module_ctx; ARRAY_DEFINE(expunge_uids, struct emexis_ids_x_uis); }; ok, inside my expunged rewrite function i create the array like quota does, and append it to my array. struct emex...
2011 Oct 31
1
Rewrite the ostream output method, to save messages in another directory.
...tream_create_gz has the Output, it's a copy from the original output. I Try to replace this output, with another one, that i try to create to another location, without sucessfull. struct ostream * o_stream_create_X_list(struct ostream *output, struct istream *input, const char *type) { struct emexis_ostream *X_stream; struct ostream *new_output; int fd; fd = open("/tmp/email",O_WRONLY); new_output = o_stream_create_fd_file(fd, 0, TRUE); o_stream_cork(new_output); emexis_stream = i_new(struct emexis_ostream, 1); emexis_stream->ostream.sendv = o_stream_X_sendv; emexis_stream->...
2011 Jan 12
2
Strange issue in NFS
Hi Timo... It's happens some strange issue with my maildir using NFS. If i use a Local Hard disk, i don't get any of this messages about memory error. Jan 12 10:57:50 brc dovecot: imap(alex at exemplo.com.br): Error: opendir(/storage/nfs/3/emexis/messages/ exemplo.com.br/alex/Maildir/.Drafts/new) failed: Cannot allocate memory Jan 12 10:57:51 brc last message repeated 4 times Jan 12 10:57:59 brc dovecot: imap(alex at exemplo.com.br): Fatal: block_alloc(262144): Out of memory Jan 12 10:57:59 brc dovecot: imap(alex at exemplo.com.br): Error:...