On Thu, 2015-08-06 at 09:49 +0200, Stephan Bosch wrote:> You have no debug symbols installed. Could you install dovecot-dbg > package and try again?Sorry, how's this: #0 sieve_validator_find_command_registration (valdtr=0xffffffff, command=0x7fc573c4bcd8 "extdata") at sieve-validator.c:309 No locals. #1 sieve_validator_register_command (valdtr=0xffffffff, ext=0x7fc5761b1280, cmd_def=0x7fc573e4c400 <tst_extdata>) at sieve-validator.c:331 cmd_reg = <optimized out> #2 0x00007fc573c4b4e6 in ext_extdata_validator_load (ext=0x7fc5761b1280, valdtr=0xffffffff) at ext-extdata.c:46 No locals. #3 0x00007fc5746c51a4 in _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 locals. #7 0x00007fc574913948 in lda_sieve_deliver_mail (mdctx=<optimized out>, storage_r=0x7ffdd3a36208) at lda-sieve-plugin.c:948 srctx = {svinst = 0x7fc5761b09b0, mdctx = 0x7ffdd3a36230, home_dir = 0x7fc5761acf78 "/var/mail/vhosts/xx/yy", scripts = 0x7fc576171088, script_count = 0, user_script = 0x0, main_script = 0x0, msgdata = 0x0, scriptenv = 0x0, user_ehandler = 0x0, master_ehandler = 0x7fc5761b56c0, userlog = 0x0} debug = <optimized out> svenv = {hostname = 0x7fc57618cb98 "xx.com", domainname = 0x0, base_dir = 0x7fc5761ac8c0 "/var/run/dovecot", username = 0x7fc5761abda8 "yy at xx.com", home_dir = 0x7fc5761acf78 "/var/mail/vhosts/xx/yy", flags = SIEVE_FLAG_HOME_RELATIVE, location = SIEVE_ENV_LOCATION_MDA, delivery_phase = SIEVE_DELIVERY_PHASE_DURING} i = <optimized out> ret = <optimized out> #8 0x00007fc5756c6d69 in mail_deliver (ctx=ctx at entry=0x7ffdd3a36230, storage_r=storage_r at entry=0x7ffdd3a36208) at mail-deliver.c:400 ret = <optimized out> #9 0x00007fc575af6171 in client_deliver (session=0x7fc5761aa060, src_mail=0x7fc5761a5840, rcpt=0x7fc57617e7d0, client=0x7fc57617df50) at commands.c:689 lda_set = 0x7fc57618cb28 ns = <optimized out> set_parser = <optimized out> line = <optimized out> storage = 0x0 sets = <optimized out> mail_error = 1981272992 ret = <optimized out> dctx = {pool = 0x7fc5761aa040, set = 0x7fc57618cb28, session = 0x7fc5761aa060, dup_ctx = 0x7fc5761b08d0, session_id = 0x7fc57617e760 "8WveM2IVw1V5fgAAChoztw", src_mail = 0x7fc5761a5840, src_envelope_sender = 0x7fc57617e778 "xx at hotmail.com", dest_user = 0x7fc5761abcd0, dest_addr = 0x7fc57617edd0 "yy at xx.com", final_dest_addr = 0x7fc57617edd0 "yy at xx.com", dest_mailbox_name = 0x7fc575af8ad0 "INBOX", dest_mail = 0x0, var_expand_table = 0x0, tempfail_error = 0x0, tried_default_save = false, saved_mail = false, save_dest_mail = false, mailbox_full = false, dsn = false} input = <optimized out> mail_set = <optimized out> error = <optimized out> username = <optimized out> #10 client_deliver_next (session=0x7fc5761aa060, src_mail=0x7fc5761a5840, client=0x7fc57617df50) at commands.c:732 count = <optimized out> #11 client_input_data_write_local (input=<optimized out>, client=0x7fc57617df50) at commands.c:827 src_mail = 0x7fc5761a5840 first_uid = 4294967295 session = 0x7fc5761aa060 old_uid = 0 #12 client_input_data_write (client=0x7fc57617df50) at commands.c:939 input = 0x7fc57618dc50 ret = true #13 client_input_data_handle (client=0x7fc57617df50) at commands.c:1033 data = <optimized out> size = 934 ret = <optimized out> #14 0x00007fc575140d0f in io_loop_call_io (io=0x7fc57617d3a0) at ioloop.c:441 ioloop = 0x7fc576178730 t_id = 2 __FUNCTION__ = "io_loop_call_io" #15 0x00007fc575141d09 in io_loop_handler_run_internal (ioloop=ioloop at entry=0x7fc576178730) at ioloop-epoll.c:220 ctx = 0x7fc57617b550 io = <optimized out> tv = {tv_sec = 299, tv_usec = 983558} events_count = <optimized out> msecs = <optimized out> ret = 1 i = 0 j = <optimized out> call = <optimized out> __FUNCTION__ = "io_loop_handler_run_internal" #16 0x00007fc575140d79 in io_loop_handler_run (ioloop=ioloop at entry=0x7fc576178730) at ioloop.c:488 No locals. #17 0x00007fc575140df8 in io_loop_run (ioloop=0x7fc576178730) at ioloop.c:465 __FUNCTION__ = "io_loop_run" #18 0x00007fc5750ebdc3 in master_service_run (service=0x7fc5761785c0, callback=<optimized out>) at master-service.c:566 No locals. #19 0x00007fc575af49b5 in main (argc=1, argv=0x7fc576178390) at main.c:122 set_roots = {0x7fc5758ca4c0 <lda_setting_parser_info>, 0x7fc575cfa6c0 <lmtp_setting_parser_info>, 0x0} service_flags = <optimized out> storage_service_flags = <optimized out> c = <optimized out>
What version of the extdata plugin are you using? This looks like a version built for Dovecot v2.1/Pigeonhole 0.3.0. Keep in mind that the extdata plugin is not part of the Pigeonhole distribution, so that will not be upgraded along with Pigeonhole. 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/ Regards, Stephan. Andrew Beverley schreef op 6-8-2015 om 10:13:> On Thu, 2015-08-06 at 09:49 +0200, Stephan Bosch wrote: >> You have no debug symbols installed. Could you install dovecot-dbg >> package and try again? > Sorry, how's this: > > #0 sieve_validator_find_command_registration (valdtr=0xffffffff, command=0x7fc573c4bcd8 "extdata") at sieve-validator.c:309 > No locals. > #1 sieve_validator_register_command (valdtr=0xffffffff, ext=0x7fc5761b1280, cmd_def=0x7fc573e4c400 <tst_extdata>) > at sieve-validator.c:331 > cmd_reg = <optimized out> > #2 0x00007fc573c4b4e6 in ext_extdata_validator_load (ext=0x7fc5761b1280, valdtr=0xffffffff) at ext-extdata.c:46 > No locals. > #3 0x00007fc5746c51a4 in _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 locals. > #7 0x00007fc574913948 in lda_sieve_deliver_mail (mdctx=<optimized out>, storage_r=0x7ffdd3a36208) at lda-sieve-plugin.c:948 > srctx = {svinst = 0x7fc5761b09b0, mdctx = 0x7ffdd3a36230, > home_dir = 0x7fc5761acf78 "/var/mail/vhosts/xx/yy", scripts = 0x7fc576171088, script_count = 0, > user_script = 0x0, main_script = 0x0, msgdata = 0x0, scriptenv = 0x0, user_ehandler = 0x0, > master_ehandler = 0x7fc5761b56c0, userlog = 0x0} > debug = <optimized out> > svenv = {hostname = 0x7fc57618cb98 "xx.com", domainname = 0x0, base_dir = 0x7fc5761ac8c0 "/var/run/dovecot", > username = 0x7fc5761abda8 "yy at xx.com", > home_dir = 0x7fc5761acf78 "/var/mail/vhosts/xx/yy", flags = SIEVE_FLAG_HOME_RELATIVE, > location = SIEVE_ENV_LOCATION_MDA, delivery_phase = SIEVE_DELIVERY_PHASE_DURING} > i = <optimized out> > ret = <optimized out> > #8 0x00007fc5756c6d69 in mail_deliver (ctx=ctx at entry=0x7ffdd3a36230, storage_r=storage_r at entry=0x7ffdd3a36208) at mail-deliver.c:400 > ret = <optimized out> > #9 0x00007fc575af6171 in client_deliver (session=0x7fc5761aa060, src_mail=0x7fc5761a5840, rcpt=0x7fc57617e7d0, > client=0x7fc57617df50) at commands.c:689 > lda_set = 0x7fc57618cb28 > ns = <optimized out> > set_parser = <optimized out> > line = <optimized out> > storage = 0x0 > sets = <optimized out> > mail_error = 1981272992 > ret = <optimized out> > dctx = {pool = 0x7fc5761aa040, set = 0x7fc57618cb28, session = 0x7fc5761aa060, dup_ctx = 0x7fc5761b08d0, > session_id = 0x7fc57617e760 "8WveM2IVw1V5fgAAChoztw", src_mail = 0x7fc5761a5840, > src_envelope_sender = 0x7fc57617e778 "xx at hotmail.com", dest_user = 0x7fc5761abcd0, > dest_addr = 0x7fc57617edd0 "yy at xx.com", final_dest_addr = 0x7fc57617edd0 "yy at xx.com", > dest_mailbox_name = 0x7fc575af8ad0 "INBOX", dest_mail = 0x0, var_expand_table = 0x0, tempfail_error = 0x0, > tried_default_save = false, saved_mail = false, save_dest_mail = false, mailbox_full = false, dsn = false} > input = <optimized out> > mail_set = <optimized out> > error = <optimized out> > username = <optimized out> > #10 client_deliver_next (session=0x7fc5761aa060, src_mail=0x7fc5761a5840, client=0x7fc57617df50) at commands.c:732 > count = <optimized out> > #11 client_input_data_write_local (input=<optimized out>, client=0x7fc57617df50) at commands.c:827 > src_mail = 0x7fc5761a5840 > first_uid = 4294967295 > session = 0x7fc5761aa060 > old_uid = 0 > #12 client_input_data_write (client=0x7fc57617df50) at commands.c:939 > input = 0x7fc57618dc50 > ret = true > #13 client_input_data_handle (client=0x7fc57617df50) at commands.c:1033 > data = <optimized out> > size = 934 > ret = <optimized out> > #14 0x00007fc575140d0f in io_loop_call_io (io=0x7fc57617d3a0) at ioloop.c:441 > ioloop = 0x7fc576178730 > t_id = 2 > __FUNCTION__ = "io_loop_call_io" > #15 0x00007fc575141d09 in io_loop_handler_run_internal (ioloop=ioloop at entry=0x7fc576178730) at ioloop-epoll.c:220 > ctx = 0x7fc57617b550 > io = <optimized out> > tv = {tv_sec = 299, tv_usec = 983558} > events_count = <optimized out> > msecs = <optimized out> > ret = 1 > i = 0 > j = <optimized out> > call = <optimized out> > __FUNCTION__ = "io_loop_handler_run_internal" > #16 0x00007fc575140d79 in io_loop_handler_run (ioloop=ioloop at entry=0x7fc576178730) at ioloop.c:488 > No locals. > #17 0x00007fc575140df8 in io_loop_run (ioloop=0x7fc576178730) at ioloop.c:465 > __FUNCTION__ = "io_loop_run" > #18 0x00007fc5750ebdc3 in master_service_run (service=0x7fc5761785c0, callback=<optimized out>) at master-service.c:566 > No locals. > #19 0x00007fc575af49b5 in main (argc=1, argv=0x7fc576178390) at main.c:122 > set_roots = {0x7fc5758ca4c0 <lda_setting_parser_info>, 0x7fc575cfa6c0 <lmtp_setting_parser_info>, 0x0} > service_flags = <optimized out> > storage_service_flags = <optimized out> > c = <optimized out>
On Thu, 2015-08-06 at 16:10 +0200, Stephan Bosch wrote:> What version of the extdata plugin are you using? This looks like a > version built for Dovecot v2.1/Pigeonhole 0.3.0. Keep in mind that the > extdata plugin is not part of the Pigeonhole distribution, so that will > not be upgraded along with Pigeonhole. > > 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/You're absolutely right; sorry, I had completely forgotten. I'll give that a go and let you know how I get on. Thanks, Andy
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, but am getting the following compilation error: make[2]: Entering directory '/usr/src/pigeonhole-0-4-sieve-extdata-4ce3912ee200/src' /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include/dovecot -I/usr/include/dovecot/sieve -DPKG_RUNDIR=\"""\" -std=gnu99 -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -MT sieve-extdata-plugin.lo -MD -MP -MF .deps/sieve-extdata-plugin.Tpo -c -o sieve-extdata-plugin.lo sieve-extdata-plugin.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include/dovecot -I/usr/include/dovecot/sieve -DPKG_RUNDIR=\"\" -std=gnu99 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -MT sieve-extdata-plugin.lo -MD -MP -MF .deps/sieve-extdata-plugin.Tpo -c sieve-extdata-plugin.c -fPIC -DPIC -o .libs/sieve-extdata-plugin.o sieve-extdata-plugin.c:20:44: error: 'PIGEONHOLE_ABI_VERSION' undeclared here (not in a function) const char *sieve_extdate_plugin_version = PIGEONHOLE_ABI_VERSION; This is on Debian Jessie using: ./configure --with-dovecot=/usr/lib/dovecot/ --with-pigeonhole=/usr/include/dovecot/sieve/ The headers seem to be found correctly when using configure, it's just when compiling that I get an error. pigeonhole-0-4-sieve-extdata-4ce3912ee200 Any ideas? Thanks, Andy