search for: alexwbaul

Displaying 20 results from an estimated 31 matches for "alexwbaul".

Did you mean: alexwbaule
2010 Nov 18
6
Doveadm
How doveadm purge a email ? It's search using the index or scan every directory and open the email to match the search criteria ?
2009 Dec 14
2
Plugins
Hello everyone again..... i try to do a plugin... and i see there is a lot of "hook_*" calls in various places.... There is some documentation about this hooks ? like: hook_mail_storage_created = is calling when the email is.... and go on.... Tks.
2010 Feb 09
1
Get plugins configuration
Hello everyone.... There is a way to get configurations in dovecot.conf inside a plugin ?
2010 Feb 10
1
Get some headers Variables
Hello Everyone again !! I'm putting more functions in my plugin, and would need to access a value of one variable that is going to put in the header, how can I get this value by dovecot? example, I have the header: X-ThereisMy: yes How can I get this value inside a plugin ? There is something like getHeaderVar("X-ThereisMy") ?
2010 Mar 24
1
What is the difference between the plugin zlib and imap-zlib ?
What is the difference between the plugin zlib and imap-zlib ? in dovecot 1.2.X the zlib plugin works with imap....imap-zlib is a complement to zlib ?
2010 Mar 30
1
Get plugins configuration in dovecot 2.0
In 1.X to get configuration Timo said. In v1.x they're in environment variables. So if you have: plugin { foo = bar } getenv("FOO") returns "bar". But, in 2.0 ?! getenv dont work....
2010 Apr 20
3
zlib Plugin Dovecot 2.0 - ostream
Hello Everyone... In zlib save mail have it: struct ostream *output; There is a way to get the file descriptor from output used in ostream zlib plugin ? to get in istream is i_stream_get_fd, but don't have o_stream_get_fd......
2010 May 05
0
Plugin to handle message saved and handle move from tmp to cur/new
Hello everyone.... I need to finish my plugin, but i depends from some stuffs in the save/move process that i can't find how its work. In new zlib plugin (2.0) , the message is saved compressed now, but i dont find how is done the process to write the file to tmp, and move it to the cur or new directory (inside .Sent). I need to hook this function, to get access to some variables, like
2010 May 06
1
Bug in zlib Plugin (2.0)
Hello everyone..... I Made some tests in zlib plugin, and in ostream file (ostream-zlib.c) in o_stream_zlib_sendv function, have it: stream->ostream.offset += bytes; In struct mail_save_context, have saved_physical_size and it can be updated, acording with the observation. /* if non-zero, overrides the physical size that should be saved. for example when using zlib plugin, this
2010 May 11
1
Zlib plugin dovecot 2.0beta4
Hi Timo... I made the plugin like you say. The header part is saved by dovecot, with o_stream_send , and the body with my function. This implementation, works fine. But i need to get / change some values to create the "link" from header to body. When a email is saved, have the S an W flags, that is the size of email. There is a way to increase this Flags ? I need to put one more
2010 Jun 21
1
Expunge email Plugin
Hello everyone..... I Need to know when a email is expunge, but i don't need change this action. I Need to call another action + the default action. There is a plugin to do this ?
2010 Jul 22
1
Help with some features to do in a plugin
Hello Everyone.... I need to develop some plugins, but i can't know if is possible to do or not. 1 - There is a way to deny a email to be moved from one folder to another ? example: the user is only allowed to move mails in Spam Folder to Trash Folder. If yes, were i can find a code example or a plugin to extract some idea. 2 - It's possible to deny a user to create a subscription
2010 Aug 31
0
istream_read like zlib, but without zlib
Hy Timo ! I Made some modification in stream_read in zlib. I remove all zlib part, because i don't need this, but i need to read a istream to change it. Well, i create a size_t called supersize, with is a substitute for stream->zs.avail_in. The trouble is, my debug file have a lot of "READ Plugin\n", and i think it's because my read becomes a loop, i think it's because
2010 Sep 21
1
understand the struct message_header_line
Timo... Using the src/lib-mail/test-istream-header-filter.c as example, and following your tips to jump my desired header value, but i need to store the value from the Header filtered. In the Exemple, the callback is this: static void filter_callback(struct message_header_line *hdr, bool *matched, void *context ATTR_UNUSED) { if (hdr != NULL && hdr->name_offset ==
2010 Sep 23
1
get MAIL_FETCH_UIDL_FILE_NAME after save a email
Hi Timo... I Try to get the name from the saved email, you said to me, to get this with the get_special, ok... thats work. I get the name with this: mail_get_special(t->save_ctx->dest_mail, MAIL_FETCH_UIDL_FILE_NAME, &fname); By i got some mistake... when i save a email that exist in the same directory, the email is rewrited with another name, but the get_special give me the old one
2010 Sep 28
0
Doubts with email copying
Hi Timo..... Trying to resolve my problem with the references in copying a email between Folders (when i move from inbox -> sent for example), i got some doubt. My plugin create a new ostream in v->save_begin, and i start a function from my library to create the reference, but when the email is been copying, the new email don't pass in this function, and i don't start my function
2010 Nov 01
1
Know when a Folder is Expunged or Deleted
Hi Timo and Everyone.... There is a way to know when a folder it's been deleted ? And if this folder is empty ? Let's explain why... I intercept the expunge function, to treat my files expunged, but when i expunge a folder, this function it's not called, and my emails don't get my treatment to be expunged. Basically i need to do something like this: It's empty ? No -->
2010 Dec 16
1
Plugins on a NFS
Hi timo..... I Made a plugin that's works fine in a Normal Partition and a GlusterFS enviroment too. in NFS it's intermitent, some times works, some times don't. Only the expunge part have this issue, i use stat to get the amont of hard link in a file. There is because of that (stat, hard link count) ? If is, there is some workarround to do !? Tks Timo !!!
2011 Jan 19
1
Rewrite the mailbox copy functions works in imap but don't work in doveadm import command
Hi Timo !! I rewrite the copy function from mailbox (using a plugin) My rewrite is like this: static int emexis_antispam_copy(struct mail_save_context *ctx, struct mail *mail){ struct mailbox *box = ctx->transaction->box; union mailbox_module_context *zbox = EMEXIS_CONTEXT(box); struct mail_private *_mail = (struct mail_private *)mail; union mail_module_context *zmail =
2012 Feb 10
1
There is a way to know if a email has been expunged ?
Hy Everyone...and Timo ! There is a way to know if a email was expunged (deleted from hard disk) inside a plugin ? I rewrite the expunge function, but the real expunge function is void, i can't know if was really expunged. There is a way to know this ?