search for: dict_init

Displaying 20 results from an estimated 22 matches for "dict_init".

2018 Jun 25
2
Pigeonhole extdata repo?
...ence. No one has updated it for 0.5? Is Stephan Bosch the only person who can help? Looks like incompatibilities with changes in dovecot dict things: ext-extdata-common.c: In function 'ext_extdata_interpreter_get_context': ext-extdata-common.c:113:3: warning: passing argument 3 of 'dict_init' from incompatible pointer type [enabled by default] svinst->base_dir, &dict, &error); ^ In file included from ext-extdata-common.c:6:0: /usr/local/include/dovecot/dict.h:86:5: note: expected 'struct dict **' but argument is of type 'const char *' int di...
2018 Jun 27
0
Pigeonhole extdata repo?
...it for 0.5? Is Stephan Bosch the only person who can help? > Looks like incompatibilities with changes in dovecot dict things: > > ext-extdata-common.c: In function 'ext_extdata_interpreter_get_context': > ext-extdata-common.c:113:3: warning: passing argument 3 of > 'dict_init' from incompatible pointer type [enabled by default] > svinst->base_dir, &dict, &error); > ^ > In file included from ext-extdata-common.c:6:0: > /usr/local/include/dovecot/dict.h:86:5: note: expected 'struct dict > **' but argument is of type 'const...
2018 Jun 22
2
Pigeonhole extdata repo?
Pigeonhole download page has links for extdata plugin up to v0.4 but nothing more and no link to the master repository https://pigeonhole.dovecot.org/download.html I want to use with dovecot 2.3.2rc1 but v0.4 won't compile with it. Thanks for helping ------------------------------------------------- ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's
2013 Aug 21
1
Dovecot antispam plugin for 2.2
...nd that there have been some changes in dovecot that make this version not compile against 2.2. I'm wondering if Johannes you have any plans to update it, or if others have managed to figure out what is necessary to get it to work? The particular piece that I am currently stuck on is that the dict_init() in dovecot now requires more arguments than in previous versions, it now requires this: int dict_init(const char *uri, enum dict_data_type value_type, const char *username, const char *base_dir, struct dict **dict_r, const char **error_r); but previously, we only nee...
2014 Oct 18
1
last_login plugin with MySQL
...gins/LastLogin and I addes this to my configuration plugin { last_login_dict = sql:/etc/dovecot/dovecot-sql.conf.ext } mail_plugins = $mail_plugins stats protocol imap { mail_plugins = $mail_plugins imap_stats last_login } When I log in with IMAP I get this error: Error: last_login_dict: dict_init(sql:/etc/dovecot/dovecot-sql.conf.ext) failed: Unknown dict module: sql /etc/dovecot/dovecot-sql.conf.ext is the file taht contains the SQL configuration. If I put mysql instead of sql the result is the same: Error: last_login_dict: dict_init(mysql:/etc/dovecot/dovecot-sql.conf.ext) failed: Un...
2008 Jul 10
1
Unknown dict module: db with expire plugin
Hello. I upgraded my dovecot to 1.1. I use the FreeBSD port. However, I can't use the expire plugin. See the error: Unknown dict module: db expire plugin: dict_init() failed I see on the mailing list another mail like this problem. And the problem is the imap library is not linked to libdb. Is there a solution? Have I to contact the FreeBSD maintainer to link the binary to the library? Thanks for your advices. Regards, -- - Nicolas.
2009 Sep 25
1
problem with compilation of dovecot-antispam plugin with dovecot 1.2.5
...t/src/lib-mail/ -I/opt/dovecot125/include/dovecot/src/lib-imap/ -I/opt/dovecot125/include/dovecot/src/lib-dict/ -I/opt/dovecot125/include/dovecot/src/lib-index/ -I/opt/dovecot125/include/dovecot/src/imap/ -o debug.o debug.c In file included from debug.c:5: antispam-plugin.h: In function 'string_dict_init': antispam-plugin.h:119: erreur: too few arguments to function 'dict_init' antispam-plugin.h:120: attention : control reaches end of non-void function make: *** [debug.o] Erreur 1 my .config : BACKEND=spool2dir DOVECOT=/opt/dovecot125/include/dovecot INSTALLDIR=/opt/dovecot125/lib/dov...
2008 Sep 21
2
antispam plugin signature-log backend with v1.1.2
...vecot-1.1.2/src/lib-mail/ -I../dovecot-1.1.2/src/lib-imap/ -I../dovecot-1.1.2/src/lib-dict/ -I../dovecot-1.1.2/src/lib-index/ -I../dovecot-1.1.2/src/imap/ -o signature-log.o signature-log.c signature-log.c: In function ?backend_start?: signature-log.c:54: error: incompatible type for argument 2 of ?dict_init? signature-log.c:54: error: too few arguments to function ?dict_init? signature-log.c: In function ?backend_handle_mail?: signature-log.c:97: error: incompatible type for argument 2 of ?mail_storage_set_error? signature-log.c:97: error: too few arguments to function ?mail_storage_set_error? signatu...
2007 Jul 16
1
Dict-server mysql module error
hi all when i setup plugin quota by quota = dict: mysql:/etc/quota-dict.conf i get the folowing error: deliver(zzzz at zzzz.zz): Unknown dict module: mysql deliver(zzzz at zzz.zz): dict quota: dict_init() failed quota-dict.conf: connect = host=localhost dbname=zzzz user=zzzz password=zzzz table = mailbox select_field = quota where_field = maildir username_field = username dovecot.conf: # 1.0.2: /etc/dovecot//dovecot.conf base_dir: /var/run/dovecot/ protocols: imap pop3 imaps pop3s ssl_disable:...
2014 Jul 07
1
[PATH] expire plugins segfault with misconfigured dict
dovecot 2.2.13 With configuration like plugin { expire_dict = blblbla } expiere plugins segfaults during deinit. It might also segfault if the dict service was unavaiable. attached bellow is a diff against 2.2.13 Jul 7 14:51:11 dovecot1 dovecot: lmtp(10548, lazy): Error: expire plugin: dict_init(blblbla) failed: Dictionary URI is missing ':': blblbla Jul 7 14:51:11 dovecot1 dovecot: lmtp(10548, lazy): Fatal: master: service(lmtp): child 10548 killed with signal 11 (core dumps disabled) Program received signal SIGSEGV, Segmentation fault. 0x00007f337d8af8ae in dict_deinit (_dic...
2009 Mar 06
0
[patch] example configuration for expire seems broken
The expire configuration in the example config file in 1.1.11 is broken: root at omega:/etc/dovecot# /etc/init.d/dovecot restart Restarting IMAP/POP3 mail server: dovecot Unknown dict module: db expire plugin: dict_init() failed Error: imap dump-capability process returned 89 Fatal: Invalid configuration in /etc/dovecot/dovecot.conf failed! It's inconsistent with the documentation at http://wiki.dovecot.org/Plugins/Expire, so I've made the attached patch to try and fix it. Note: I don't know if this...
2006 May 07
0
Error messages in db/schema.rb
Hi I''ve discovered the following error messages in my db/schema.rb: # Could not dump table "pg_ts_dict" because of following StandardError # Unknown type ''regprocedure'' for column ''dict_init'' # Could not dump table "pg_ts_parser" because of following StandardError # Unknown type ''regprocedure'' for column ''prs_start'' This is Rails 1.1.2, PostgresSQL 8.1.3 Anyone knows what''s wrong, and what I should do? -Alder
2009 Jun 30
1
v1.2.rc8 released
http://dovecot.org/releases/1.2/rc/dovecot-1.2.rc8.tar.gz http://dovecot.org/releases/1.2/rc/dovecot-1.2.rc8.tar.gz.sig Last few fixes before tomorrow's v1.2.0 release. Also this release was built in dovecot.org to make sure I can make a usable Dovecot release while not at work/home. :) - Fixed building LDAP as plugin - Fixed starting up in OS X
2009 Jun 30
1
v1.2.rc8 released
http://dovecot.org/releases/1.2/rc/dovecot-1.2.rc8.tar.gz http://dovecot.org/releases/1.2/rc/dovecot-1.2.rc8.tar.gz.sig Last few fixes before tomorrow's v1.2.0 release. Also this release was built in dovecot.org to make sure I can make a usable Dovecot release while not at work/home. :) - Fixed building LDAP as plugin - Fixed starting up in OS X
2012 Dec 22
0
[Antispam]rev 990a43d44c73 breaks compilation for dovecot 2.1
Dovecot 2.1.12 and antispam-plugin 0319240072d8 bash-# make Entering directory src. signature-log.c: In function 'signature_log_transaction_begin': signature-log.c:122: error: too many arguments to function 'dict_init' Failed to compile signature-log.c (plugin)! make[3]: *** [signature-log.plugin.o] Error 1 make[2]: *** [all] Error 2 make[1]: *** [src] Error 2 make: *** [all] Error 2 Reversing the deff the builing process ends with no error. -- Simone Caruso IT Consultant +39 349 65 90 805
2013 Jan 08
0
dovecot-antispam-plugin compile error
...50 glog -l3 --style compact @ 50[tip] 0319240072d8 2012-12-20 03:56 +0200 Eugene Paskevich <eugene at raptor.kiev.ua> | Made use of new DOVECOT_ABI_VERSION macro. ... $ configure; make Compiling signature-log.c (plugin)... signature-log.c:122: error: too many arguments to function ?dict_init? ... Reverting src/signature-log.c from r49 to r30 allows make to succeed again. Regards, Bradley Giesbrecht (pixilla) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2763 bytes Desc: not available URL: <ht...
2016 Oct 17
1
Dict proxy client returning empty string instead of multiline string
...properly and reproduce, I was able to trigger the same bug with the following code: struct dict *dict; char* dict_uri = "proxy::sieve"; char* key = "priv/key"; char* username = "admin at domain.tld"; char* value, error; dict_drivers_register_builtin(); dict_init(dict_uri, DICT_DATA_TYPE_STRING, username, doveadm_settings->base_dir, &dict, &error); dict_lookup(dict, pool_datastack_create(), key, &value); printf(">%s\n", value); // outputs an empty string dict_deinit(&dict); I trimmed it to the bare minimal string m...
2016 Oct 17
2
Dict proxy client returning empty string instead of multiline string
...> > > struct dict *dict; > > char* dict_uri = "proxy::sieve"; > > char* key = "priv/key"; > > char* username = "admin at domain.tld"; > > char* value, error; > > > > dict_drivers_register_builtin(); > > dict_init(dict_uri, DICT_DATA_TYPE_STRING, username, > > doveadm_settings->base_dir, &dict, &error); > > dict_lookup(dict, pool_datastack_create(), key, &value); > > printf(">%s\n", value); // outputs an empty string > > dict_deinit(&dict); &g...
2009 Feb 03
1
Segfault in deliver server
...dx=0) at array.c:10 #1 0x0805e9a2 in sql_pool_unlink (ctx=0x80fb670) at sql-pool.c:64 #2 0x0805ea24 in sql_pool_new (pool=0x80f9470, db_driver=0x80dd498 "sqlite", connect_string=0x810ad78 "/kolab/var/dovecot/lib/metadata-dict.sqlite") at sql-pool.c:97 #3 0x0805bb3c in sql_dict_init (driver=0x80f9ae0, uri=0xbfce9f76 "/kolab/etc/dovecot/metadata-dict.conf", value_type=DICT_DATA_TYPE_STRING, username=0x80fb910 "4 at burlywood3.rgb") at dict-sql.c:86 #4 0x0805c9ca in dict_init (uri=0xbfce9f6f "sqlite:/kolab/etc/dovecot/metadata-dict.conf", valu...
2016 Oct 17
2
Dict proxy client returning empty string instead of multiline string
Hi! This does sound like a bug, we'll have look. Aki On 17.10.2016 01:26, Pierre Jaury wrote: > I dived a little bit further into the rabbit hole, up to the point where > debugging has become unpracticle but I still haven't found the root > cause for sure. > > I read most of the code for "p_strdup" based on datastack memory pools > (which are used for