similar to: Plugins

Displaying 20 results from an estimated 2000 matches similar to: "Plugins"

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 ?
2007 Mar 15
5
[PATCH 0/5] fix gcc warnings in CVS HEAD
Hi, I have rewritten the patches I submitted earlier today for the CVS HEAD. Some of the changes were already committed months ago. On 2007/03/15 12:30, Timo Sirainen <tss at iki.fi> wrote: > That's ok, but I'm not sure about bsearch_insert_pos(). It's the way it > is mostly because I wanted to keep bsearch() API. If it can't return > void * then maybe it could be
2009 Dec 08
3
Developer Documentation
Hi Everyone.... I Try to make a modification in dovecot Maildir system.... I want to include lines from another file into every email when the user request to read this email. Is Like put some extras itens email. I try to find how to do this but what i understand is, every email is read "on the fly", but i dont find exactly where... i didnt find some "read" to do this. Some
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 Mar 11
1
Plugin like zlib
Hi everyone. I rebuild a plugin, based on zlib plugin. The changes between this plugin and zlib, is the zlib stuffs is replaced by open, read, lseek, close. With "plain-text" files, its works ok. So, my file is encrypt, and the result from decrypt file is different from fread. Like zlib, i read from fread the size variable, but the value added in seek_offset and pos is the result from
2010 Feb 09
1
Get plugins configuration
Hello everyone.... There is a way to get configurations in dovecot.conf inside a plugin ?
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 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 !!!
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......
2013 Jul 17
3
Understanding memory ballooning
Hi list, I try to understand memory ballooning. I have a xen server (kernel 2.6.27.54-0.2-xen) with 32 gb total memory. A domU has been started with "memory=4096" and "maxmem=8192". This is the status of the balloon driver in the domU: test:~ # cat /proc/xen/balloon Current allocation: 4194304 kB Requested target: 4194304 kB Minimum target: 565248 kB Maximum
2009 Dec 29
2
Retrieve Physical Message Filename
Hi,Using Dovecot 1.2.9 with Maildir and Layout=FS.In a plugin, i'm overriding "update_flags":void my_mail_update_flags(struct mail *_mail, enum modify_type modify_type, enum mail_flags flags)For this email which is having its flags updated, I need to retrieve the physical filename of the message.? I see where using:mail_get_special(_mail, MAIL_FETCH_UIDL_FILE_NAME,? &fname);...I
2007 Jul 16
0
Can't compile mbox-snarf-plugin.c on AIX 5.3
Hello everyone, I tried to compile the mbox-snarf-plugin.c (downloaded today, so I assume it's the most recent version available) on AIX 5.3 with gcc 4.0. Building Dovecot 1.0.1 and 1.0.2 works fine. [root at aix root]# export DOVECOT=/root/dovecot-1.0.1 [root at aix root]# gcc -fPIC -shared -Wall -I$DOVECOT -I$DOVECOT/src/lib -I$DOVECOT/src/lib-storage -I$DOVECOT/src/lib-mail -I
2009 Dec 10
1
Overriding Default Subscription Behavior
The subscription files we're migrating from have a "." for folder separation. We will be using Dovecot's maildir with LAYOUT=fs. It's looking for "/" as the separator in the subscription file. So, obviously we could simply write a script to swap the two characters. However, just curious if there are any options for doing this within a plugin (since we're
2010 Feb 19
2
quota and lazy_expunge plugins both used: quotas go wrong with lazy_expunge'd mails
Hello, I may have missed a point, but I could have found an issue between plugins quota and lazy_expunge. I have noticed that the "lazy_expunge"d mails are counted as part of the quota, while the documentation says it should not be. I have first tried to find out if this was a configuration mistake somewhere. Notably, you can notice that the expunged mails are in directory ~/expunged
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
2008 Oct 15
2
imap segfaults in dovecot 1.2 on logout
Hi Timo, when logging out like a001 logout the imap child dies from signal 11. The back trace looks like this: Program received signal SIGSEGV, Segmentation fault. 0xb7ed4991 in strcasecmp () from /lib/tls/i686/cmov/libc.so.6 (gdb) bt #0 0xb7ed4991 in strcasecmp () from /lib/tls/i686/cmov/libc.so.6 #1 0x0806ab6c in command_unregister (name=0x815b9ab "LOGOUT") at commands.c:83 #2
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 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 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