Displaying 20 results from an estimated 22 matches for "svinst".
2018 Jun 25
2
Pigeonhole extdata repo?
...ho 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 dict_init(const char *uri, const struct dict_settings *set,
^
ext-...
2015 Aug 06
3
Segfaults after upgrade to Debian Jessie
...sieve_extension_unload (ext=<optimized out>) at sieve-extensions.c:316
No locals.
#4 sieve_extension_unregister (ext=<optimized out>) at sieve-extensions.c:426
ext_reg = <optimized out>
ext_id = <optimized out>
#5 0x00007fc5746c550e in sieve_plugins_unload (svinst=0x7fc5761b09b0) at sieve-plugins.c:166
module = 0x7fc5761b5500
unload_func = <optimized out>
plugin = 0x7fc5761b1268
__FUNCTION__ = "sieve_plugins_unload"
#6 0x00007fc5746ca8dc in sieve_deinit (svinst=svinst at entry=0x7ffdd3a36050) at sieve.c:136
No...
2011 Mar 02
3
Segfault in managesieve with "sieve_extensions = -redirect"
..." quota zlib sieve"
}
protocol lda {
mail_plugins = " quota zlib sieve"
}
protocol imap {
mail_plugins = " quota zlib imap_quota imap_zlib"
}
-----------------------8<---------------------------------------------
(gdb) bt full
#0 sieve_extensions_set_string (svinst=<value optimized out>, ext_string=<value optimized out>)
at sieve-extensions.c:567
ext = 0x0
op = 0 '\000'
name = 0x2375331 "redirect"
_data_stack_cur_id = 2
ext_reg = 0x23856c8
ext_names = 0x2375368
i = <v...
2014 May 02
2
When the subject portion of an e-mail contains a control character, dovecot.sieve terminates unexpectatedly.
Hello.
We have currently set dovecot.sieve to insert the text "[SPAM]" at the
beginning of an e-mail's subject when it's X-Spam-Score is above 80%.
After we set our system as stated the following errors occur:
1) When an e-mail's subject contains control characters like
[Ctrl+V|^V], dovecot.sieve terminates with an error and an e-mail is not
able to be sent. When a MIME
2015 Aug 06
0
Segfaults after upgrade to Debian Jessie
...=<optimized out>) at sieve-extensions.c:316
> No locals.
> #4 sieve_extension_unregister (ext=<optimized out>) at sieve-extensions.c:426
> ext_reg = <optimized out>
> ext_id = <optimized out>
> #5 0x00007fc5746c550e in sieve_plugins_unload (svinst=0x7fc5761b09b0) at sieve-plugins.c:166
> module = 0x7fc5761b5500
> unload_func = <optimized out>
> plugin = 0x7fc5761b1268
> __FUNCTION__ = "sieve_plugins_unload"
> #6 0x00007fc5746ca8dc in sieve_deinit (svinst=svinst at entry=0x7f...
2015 Aug 06
2
Segfaults after upgrade to Debian Jessie
On Thu, 2015-08-06 at 09:12 +0200, Stephan Bosch wrote:
> Could you provide a full backtrace using the gdb command `bt full'?
Thanks for the reply. Is this everything you need?
#0 0x00007f8553969626 in sieve_validator_register_command () from /usr/lib/dovecot/libdovecot-sieve.so.0
No symbol table info available.
#1 0x00007f8552eff4e6 in ext_extdata_validator_load (ext=0x7f8556f60280,
2018 Jun 27
0
Pigeonhole extdata repo?
...ke 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 dict_init(const char *uri, const struct dict_sett...
2015 Aug 17
2
Segfaults after upgrade to Debian Jessie
...sieve_extension_unload (ext=<optimized out>) at sieve-extensions.c:316
No locals.
#4 sieve_extension_unregister (ext=<optimized out>) at sieve-extensions.c:426
ext_reg = <optimized out>
ext_id = <optimized out>
#5 0x00007ff53e08c50e in sieve_plugins_unload (svinst=0x7ff53fb599b0) at sieve-plugins.c:166
module = 0x7ff53fb5e500
unload_func = <optimized out>
plugin = 0x7ff53fb5a268
__FUNCTION__ = "sieve_plugins_unload"
#6 0x00007ff53e0918dc in sieve_deinit (svinst=svinst at entry=0x7fff1893f7e0) at sieve.c:136
No...
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
2015 Aug 10
2
pigeonhole/lda accessing -m folder
...v_items);
@@ -233,7 +234,19 @@ const struct sieve_environment_item
version_env_item = {
.value = PIGEONHOLE_VERSION,
};
+/* "defaultfolder":
+ * the default folder where mail is stored when no rule matches
+ */
+static const char *envit_defaultfolder_get_value
+(struct sieve_instance *svinst,
+ const struct sieve_script_env *senv)
+{
+ return senv->default_mailbox;
+}
-
+const struct sieve_environment_item defaultfolder_env_item = {
+ .name = "defaultfolder",
+ .get_value = envit_defaultfolder_get_value,
+};
diff --git a/src/lib-...
2012 Feb 29
1
dovecot-2.1-pigeonhole-0.3.0 identifier redeclared: sieve_multiscript_run (patch)
...s declaration
"/home/soft/dovecot/dovecot-2.1.1/src/lib-storage/mailbox-list.h", line
13: warning: useless declaration
"sieve.c", line 578: identifier redeclared: sieve_multiscript_run
current : function(pointer to struct sieve_multiscript {pointer to
struct sieve_instance {..} svinst, pointer to struct sieve_result {..}
result, pointer to const struct sieve_message_data {..} msgdata, pointer
to const struct sieve_script_env {..} scriptenv, int status, _Bool
active, _Bool keep, pointer to struct ostream {..} teststream}, pointer
to struct sieve_binary {}, pointer to struct sieve...
2015 Aug 07
2
pigeonhole/lda accessing -m folder
hi jost thx for the reply,
by access I mean to read the variable
require ["fileinto", "variables", "?destfolder?" ];
if anyof ( destfolder :matches "*") {
fileinto "${1}/subfolder";
}else{
fileinto "INBOX/subfolder";
}
On 08/07/2015 12:26 PM, Jost Krieger wrote:
> On Fri Aug 7 12:19:22 2015, matthias lay wrote:
2015 Aug 17
2
Segfaults after upgrade to Debian Jessie
On Thu, 2015-08-06 at 16:10 +0200, Stephan Bosch wrote:
> Since the extdata plugin is not part of the normal Debian packages (not
> afaik anyway), you likely compiled and installed the extdata plugin
> manually in the past while using Dovecot 2.1. Do that again, but use
> this repository: http://hg.rename-it.nl/pigeonhole-0.4-sieve-extdata/
I'm just trying to install this now,
2015 Aug 10
0
PATCH for Stephan: Re: pigeonhole/lda accessing -m folder
...t sieve_environment_item
> version_env_item = {
> .value = PIGEONHOLE_VERSION,
> };
>
> +/* "defaultfolder":
> + * the default folder where mail is stored when no rule matches
> + */
> +static const char *envit_defaultfolder_get_value
> +(struct sieve_instance *svinst,
> + const struct sieve_script_env *senv)
> +{
> + return senv->default_mailbox;
> +}
>
> -
> +const struct sieve_environment_item defaultfolder_env_item = {
> + .name = "defaultfolder",
> + .get_value = envit_defaultf...
2014 Aug 04
1
dovecot-lda 2.2.13 crashing when sieve_before used
...w/dovecot-2.2.13/src/lib/array.h:108
#2 sieve_file_script_sequence_destroy (seq=0x242eb10) at
sieve-file-script-sequence.c:242
#3 0x00007f30d47c963e in sieve_script_sequence_free
(_seq=_seq at entry=0x7fffe2dbe900) at sieve-script.c:686
#4 0x00007f30d4a3d4b3 in lda_sieve_multiscript_get_scripts
(svinst=svinst at entry=0x242abe0,
label=label at entry=0x7f30d4a3e7c0 "sieve_before",
location=location at entry=0x2416500
"/etc/dovecot/sieve/discard-viruses.sieve",
scripts=scripts at entry=0x7fffe2dbe9b0,
error_r=error_r at entry=0x7fffe2dbe998) at lda-sieve-plugin.c:271
#5...
2015 Jan 17
2
Changeset c02f29ca104d badly breaks LMTP/mdbox
..._NOGLOBAL, keep=keep at entry=0x0) at sieve.c:560
result = 0x1421d30
ret = 1
#17 0x00007f0ca1a113f5 in lda_sieve_singlescript_execute (srctx=0x7fffdfaff170) at lda-sieve-plugin.c:491
sbin = 0x14196a0
rtflags = SIEVE_RUNTIME_FLAG_NOGLOBAL
debug = false
svinst = 0x14092e0
script = 0x140d3c0
user_script = <optimized out>
cpflags = SIEVE_COMPILE_FLAG_NOGLOBAL
ret = <optimized out>
ehandler = 0x140cba0
error = <optimized out>
#18 lda_sieve_execute (storage_r=0x7fffdfaff338, srctx=0x7fffdfaff1...
2016 Oct 15
7
Latest HG Changes (fac92b5) affect Sieve-Plugin/LMTP
# 2.2.devel (c73322f): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.devel (fac92b5)
# OS: Linux 3.16.0-4-amd64 x86_64 Debian 8.6
==> /var/log/dovecot/dovecot.log <==
Oct 15 09:50:15 nihlus dovecot: lmtp(11447): Connect from local
Oct 15 09:50:15 nihlus dovecot: lmtp(tlx at leuxner.net): Panic: file lda-sieve-plugin.c: line 447 (lda_sieve_execute_scripts): assertion failed: (script !=
2016 Apr 29
2
Panic: file message-part-serialize.c: line 90 (part_serialize): assertion failed: (part->children == NULL)
...dac80a9d0,
exec_ehandler=0x7fa88e64b500, action_ehandler=0x7fa88e65b040, flags=SIEVE_EXECUTE_FLAG_NOGLOBAL, keep=0x0) at sieve.c:565
result = 0x7fa88e65dec0
ret = 1
#25 0x00007fa88b53f2d8 in lda_sieve_singlescript_execute (srctx=0x7ffdac80aac0) at lda-sieve-plugin.c:449
svinst = 0x7fa88e647f40
mdctx = 0x7ffdac80ac10
script = 0x7fa88e64bd20
user_script = true
exec_ehandler = 0x7fa88e64b500
action_ehandler = 0x7fa88e65b040
sbin = 0x7fa88e657030
debug = false
cpflags = SIEVE_COMPILE_FLAG_NOGLOBAL
exflag...
2015 Aug 07
0
pigeonhole/lda accessing -m folder
...problem.
if somebody is interested.
I added an variable to the environment extension, which is quite easy.
And the value of the folder is already there. so this is all:
src/lib-sieve/plugins/environment/ext-environment-common.c
static const char *envit_spfolder_get_value
(struct sieve_instance *svinst,
const struct sieve_script_env *senv)
{
return senv->default_mailbox;
}
const struct sieve_environment_item spfolder_env_item = {
.name = "spfolder",
.get_value = envit_spfolder_get_value,
};
after that the variable can easily be used in a script like...
2010 Aug 07
2
piegonhole seg fault with NULL user
...0, 0, 0}, __u6_addr32 = {0, 0, 0, 0}}},
ip4 = {s_addr = 0}}}, userdb_fields = 0x0}
username = <value optimized out>
errstr = 0x4013d4cc "\205\300u%\203\304\020[^]\303\307D$\004"
#6 0x08054f5b in main (argc=2, argv=0x85ff1c0) at testsuite.c:147
svinst = 0x4001da98
scriptfile = 0x85f7058 "./tests/testsuite.svtest"
dumpfile = 0x0
tracefile = 0x0
tr_config = {level = SIEVE_TRLVL_ACTIONS, flags = 0}
sbin = <value optimized out>
sieve_dir = <value optimized out>
log_stdout...