similar to: Help with some features to do in a plugin

Displaying 20 results from an estimated 30000 matches similar to: "Help with some features to do in a plugin"

2010 Nov 26
1
Mailbox Delete
Hi Timo.... I Modify the plugin autocreate, that create and subscribe a mailbox to user. My modification consist in do the inverse, if my user don't have permission to create and subscribe a folder, the plugin remove and unsubscribe. My function is called in the same place that create and subscribe is called, just seeing if my flag is "create or delete". My function i copy from
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.
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
2012 Feb 23
1
Creating and interacting with array inside plugin
Hi Timo.... I Follow your instruction to look inside quota plugin to get the notification 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
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 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 !!!
2009 Aug 09
1
autocreate plugin fails to subscribe mailbox in public namespace
Hi, I'm one step away from replacing a 7 years old qmail/uw-imapd setup with some state of the art soft- and hardware. We got migration scripts and test almost done - just one thing that keeps failing: The autocreate plugin is supposed to subscribe new users to different mailboxes, one of them being in namespace "Public." - this subscription to "Public.announcements"
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
2010 Feb 23
0
dovecot 2.0_b3 autocreate plugin bug.
New dovecot-2_beta3 installation. dovecot plugins section: plugin { autocreate = Drafts autocreate2 = Sent autocreate3 = Spam autocreate4 = Trash autosubscribe = Drafts autosubscribe2 = Sent autosubscribe3 = Spam autosubscribe4 = Trash expire = Trash 30 Spam 30 expire_dict = proxy::expire quota = maildir:Mailbox quota quota_rule = *:storage=500M quota_rule2 =
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 -->
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 =
2011 Dec 07
1
lazy_expunge plugin and folder subscription trouble
Hello, I wanted to test the lazy expunge plugin together with mdbox. It seems to me that the folder subscriptions file in the mdbox directory was overwritten with only a few folder names every time I added or removed something in the list of subscribed folders, or even if I turned the imap folder subscription feature off and on. Here is my setup: # 2.0.16:
2011 Oct 31
1
Rewrite the ostream output method, to save messages in another directory.
Hi Timo, I Trying to integrate my antispam with dovecot, using the imap folder to do certain actions. I Do almost every thing, but i have some problems saving the message. Explaining this function, i try to use a imap folder like a "collector folder", the user append a message from outside (ie another imap or pop message) to this folder, and i don't want to copy this message, i
2008 Nov 28
2
Autocreate plugin for 1.1 - trying to patch under FreeBSD
Hello all. I try to add Autocreate plugin patch to my FreeBSD host. I think I make all wrong. Could you tell me how to patch it? What I do: cd /usr/ports/mail/dovecot make extract cd cd work/dovecot-1.1.6/src/ fetch http://www.dovecot.org/patches/1.1/autocreate-plugin.c sh -x /tmp/patch.sh + export DOVECOT=~/usr/ports/mail/dovecot/work/dovecot-1.1.6/src + gcc -fPIC -shared -g -Wall
2012 Aug 22
1
difference between namespace auto=subscribe and autocreate plugin
Hello. I read docs, but still do not understand difference between following configuration options: namespace inbox { # Create and subscribe to folder mailbox Drafts { auto=subscribe } and `autocreate' plugin plugin { autocreate = inbox.Drafts autosubscribe = inbox.Drafts On wiki page that describes `autocreate' plugin i read: ... mailboxes that must always exist for all users.
2012 Jun 23
1
Problems getting auto create plugin to work
Hi there, I've configured the 'autocreate' plugin (in v.2.1.6), but it doesn't appear to be working. Can someone help me work out how to work out why please? I've got this in my 20-imap.conf file: protocol imap { mail_plugins = $mail_plugins antispam autocreate } and this in my 90-plugins.conf file: plugin { autocreate = Trash autocreate2 = Spam autosubscribe =
2010 Aug 03
2
expire plugin
Hi I try to use expire plugin with mysql When i use my thunderbird client to delete a message, nothing is write in the mysql database. My maildir is look like /home/vmail/homes/arnaud2 at xxx.xxxx.xxx/ and /etc/dovecot/dovecot-dict-expire.conf : connect = host=localhost user=xxxxxx password=xxxxxxxxx dbname=postfixadmin map { pattern = /home/vmail/homes/$user/$mailbox
2010 Apr 08
2
Dovecot 2.0 beta4 and Expire Plugin
Hello, there seems to be an error writing into the expire database defined by dict. dict { expire = sqlite:/usr/dovecot/etc/dovecotbeta-dict-expire.conf } ... plugin { ... expire = AutoCleanSpam 1d expire_dict = proxy::expire } with dovecotbeta-dict-expire.conf: connect = /test/addons/expire/expiresbeta.db map { pattern = shared/expire/$user/$mailbox table = expires
2009 Jan 19
2
Autocreate plugin
Hello. I found what if you have a something like this: autocreate = Trash autocreate2 = Sent autocreate3 = Spam *Then I delete autocreate2 string* and... autocreate3 will not work. If I add autocreate2 - all work well. Yes it is seems to be right what they all must go after each otherm but if i have a 20 or 30 autocreate folders and i want to delete autocreate2 for example - all other from