[Dovecot] Released Pigeonhole Sieve v0.1.16 for Dovecot v1.2.11
Hello Dovecot users,
Pigeonhole development has slowed down significantly in the last few months due to the fact that I got swamped in work.
The plan is now to move active development of Pigeonhole to Dovecot v2.0, meaning that this will be the last release for v1.2 that contains significant development changes and new features. However, if a certain new feature is simple enough and there is a demand for it, I may backport it from v2.0 and release it along with any bugfixes that may still arise.
The main thing that this new release adds is full support for the spamtest, spamtestplus and virustest extensions. These extensions implement a uniform means of testing the content spam/virus status headers in mail messages:
http://ietfreport.isoc.org/idref/rfc5235/
Not many people have tested these new features yet and therefore these are currently considered experimental. Test these thoroughly before you start using them! Documentation is available in doc/spamtest-virustest.txt
Changelog Sieve v0.1.16:
- Finished implementation of spamtest, spamtestplus and virustest extensions. These are not enabled by default and need to be activated with the sieve_extensions setting. Documentation available in doc/spamtest-virustest.txt
- Vacation extension: the from address of the generated reply is now by default equal to whatever known recipient alias matched the headers of the message. If it is one of the aliases specified with :addresses, it is used in stead of the envelope recipient address that was used before.
- Restructured and optimized the lexical scanner.
- Added --with-docs configure option to allow disabling installation of documentation.
- Accidentally omitted 'extern' in two declarations of global variables in header files, causing compile failures on certain systems.
- Deprecated imapflags extension: fixed implicit assignment of flags. Turns out this never really worked, but the effect of this bug was obscured by the removeflag bug fixed in the previous release.
- Fixed various memset argument mixups in enotify extension. This caused warnings on certain systems, but luckily no adverse effects at runtime.
The releases are available as follows:
Sieve:
http://www.rename-it.nl/dovecot/1.2/dovecot-1.2-sieve-0.1.16.tar.gz http://www.rename-it.nl/dovecot/1.2/dovecot-1.2-sieve-0.1.16.tar.gz.sig
Refer to http://pigeonhole.dovecot.org for more information. Have fun testing the new releases and don't hesitate to notify me when there are problems.
Regards,
-- Stephan Bosch stephan@rename-it.nl
On 30/04/2010 09:44, Stephan Bosch wrote:
Refer to http://pigeonhole.dovecot.org for more information. Have fun testing the new releases and don't hesitate to notify me when there are problems.
Hi Stephan,
I'm trying to install Pigeonhole on a old Debian 3.0 but the make command fail with:
make all-recursive
make[1]: Entering directory /usr/local/src/dovecot-1.2-sieve-0.1.16' Making all in src make[2]: Entering directory
/usr/local/src/dovecot-1.2-sieve-0.1.16/src'
Making all in lib-sieve
make[3]: Entering directory
/usr/local/src/dovecot-1.2-sieve-0.1.16/src/lib-sieve' Making all in plugins make[4]: Entering directory
/usr/local/src/dovecot-1.2-sieve-0.1.16/src/lib-sieve/plugins'
Making all in vacation
make[5]: Entering directory
/usr/local/src/dovecot-1.2-sieve-0.1.16/src/lib-sieve/plugins/vacation' source='cmd-vacation.c' object='cmd-vacation.lo' libtool=yes \ DEPDIR=.deps depmode=gcc /bin/sh ../../../../depcomp \ /bin/sh ../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../.. -I../../ -I/usr/local/src/dovecot-1.2.11 -I/usr/local/src/dovecot-1.2.11/src/lib -I/usr/local/src/dovecot-1.2.11/src/lib-mail -I/usr/local/src/dovecot-1.2.11/src/lib-storage -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -c -o cmd-vacation.lo cmd-vacation.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../.. -I../../ -I/usr/local/src/dovecot-1.2.11 -I/usr/local/src/dovecot-1.2.11/src/lib -I/usr/local/src/dovecot-1.2.11/src/lib-mail -I/usr/local/src/dovecot-1.2.11/src/lib-storage -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -c cmd-vacation.c -Wp,-MD,.deps/cmd-vacation.TPlo -fPIC -DPIC -o .libs/cmd-vacation.o In file included from /usr/local/src/dovecot-1.2.11/src/lib/lib.h:28, from cmd-vacation.c:4: /usr/local/src/dovecot-1.2.11/src/lib/data-stack.h:73: warning:
pure'
attribute directive ignored
In file included from /usr/local/src/dovecot-1.2.11/src/lib/lib.h:39,
from cmd-vacation.c:4:
/usr/local/src/dovecot-1.2.11/src/lib/strfuncs.h:44: warning: pure' attribute directive ignored /usr/local/src/dovecot-1.2.11/src/lib/strfuncs.h:54: warning:
pure'
attribute directive ignored
/usr/local/src/dovecot-1.2.11/src/lib/strfuncs.h:55: warning: pure' attribute directive ignored /usr/local/src/dovecot-1.2.11/src/lib/strfuncs.h:56: warning:
pure'
attribute directive ignored
/usr/local/src/dovecot-1.2.11/src/lib/strfuncs.h:57: warning: pure' attribute directive ignored /usr/local/src/dovecot-1.2.11/src/lib/strfuncs.h:58: warning:
pure'
attribute directive ignored
/usr/local/src/dovecot-1.2.11/src/lib/strfuncs.h:59: warning: pure' attribute directive ignored /usr/local/src/dovecot-1.2.11/src/lib/strfuncs.h:77: warning:
pure'
attribute directive ignored
In file included from cmd-vacation.c:5:
/usr/local/src/dovecot-1.2.11/src/lib/str.h:15: warning: pure' attribute directive ignored /usr/local/src/dovecot-1.2.11/src/lib/str.h:17: warning:
pure'
attribute directive ignored
/usr/local/src/dovecot-1.2.11/src/lib/str.h:18: warning: pure' attribute directive ignored In file included from ../../sieve-code.h:8, from cmd-vacation.c:17: /usr/local/src/dovecot-1.2.11/src/lib/buffer.h:36: warning:
pure'
attribute directive ignored
/usr/local/src/dovecot-1.2.11/src/lib/buffer.h:88: warning: pure' attribute directive ignored /usr/local/src/dovecot-1.2.11/src/lib/buffer.h:106: warning:
pure'
attribute directive ignored
In file included from ../../sieve-code.h:10,
from cmd-vacation.c:17:
/usr/local/src/dovecot-1.2.11/src/lib/array.h:96: warning: pure' attribute directive ignored /usr/local/src/dovecot-1.2.11/src/lib/array.h:161: warning:
pure'
attribute directive ignored
/usr/local/src/dovecot-1.2.11/src/lib/array.h:222: warning: pure' attribute directive ignored /usr/local/src/dovecot-1.2.11/src/lib/array.h:229: warning:
pure'
attribute directive ignored
In file included from ../../sieve-ast.h:11,
from ../../sieve-commands.h:10,
from cmd-vacation.c:20:
../../sieve-error.h:30: argument format specified for non-function
sieve_error_func_t' In file included from /usr/local/src/dovecot-1.2.11/src/lib-storage/mail-storage.h:6, from ../../sieve-actions.h:8, from cmd-vacation.c:21: /usr/local/src/dovecot-1.2.11/src/lib/seq-range-array.h:36: warning:
pure' attribute directive ignored
/usr/local/src/dovecot-1.2.11/src/lib/seq-range-array.h:39: warning:
pure' attribute directive ignored /usr/local/src/dovecot-1.2.11/src/lib/seq-range-array.h:41: warning:
pure' attribute directive ignored
In file included from
/usr/local/src/dovecot-1.2.11/src/lib-storage/mail-storage.h:10,
from ../../sieve-actions.h:8,
from cmd-vacation.c:21:
/usr/local/src/dovecot-1.2.11/src/lib-storage/mailbox-list.h:141:
warning: pure' attribute directive ignored /usr/local/src/dovecot-1.2.11/src/lib-storage/mailbox-list.h:142: warning:
pure' attribute directive ignored
/usr/local/src/dovecot-1.2.11/src/lib-storage/mailbox-list.h:144:
warning: pure' attribute directive ignored /usr/local/src/dovecot-1.2.11/src/lib-storage/mailbox-list.h:146: warning:
pure' attribute directive ignored
In file included from ../../sieve-actions.h:8,
from cmd-vacation.c:21:
/usr/local/src/dovecot-1.2.11/src/lib-storage/mail-storage.h:289:
warning: pure' attribute directive ignored /usr/local/src/dovecot-1.2.11/src/lib-storage/mail-storage.h:291: warning:
pure' attribute directive ignored
/usr/local/src/dovecot-1.2.11/src/lib-storage/mail-storage.h:347:
warning: pure' attribute directive ignored /usr/local/src/dovecot-1.2.11/src/lib-storage/mail-storage.h:350: warning:
pure' attribute directive ignored
/usr/local/src/dovecot-1.2.11/src/lib-storage/mail-storage.h:404:
warning: pure' attribute directive ignored /usr/local/src/dovecot-1.2.11/src/lib-storage/mail-storage.h:414: warning:
pure' attribute directive ignored
make[5]: *** [cmd-vacation.lo] Error 1
make[5]: Leaving directory
/usr/local/src/dovecot-1.2-sieve-0.1.16/src/lib-sieve/plugins/vacation' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory
/usr/local/src/dovecot-1.2-sieve-0.1.16/src/lib-sieve/plugins'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
/usr/local/src/dovecot-1.2-sieve-0.1.16/src/lib-sieve' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory
/usr/local/src/dovecot-1.2-sieve-0.1.16/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/dovecot-1.2-sieve-0.1.16'
make: *** [all] Error 2
The configure line is:
./configure --with-dovecot=../dovecot-1.2.11
The same software installs without trouble on a Debian 5.0.
On Fri, 2010-04-30 at 11:33 +0200, mailing@securitylabs.it wrote:
I'm trying to install Pigeonhole on a old Debian 3.0 but the make command fail with: .. /usr/local/src/dovecot-1.2.11/src/lib/data-stack.h:73: warning: `pure' attribute directive ignored
"The attribute pure is not implemented in GCC versions earlier than 2.96."
How ancient gcc version do you have?
../../sieve-error.h:30: argument format specified for non-function `sieve_error_func_t'
I guess this is the error. You could remove ATTR_FORMAT(3, 4) from the code in there.
I don't think it's worth the trouble to support gcc versions older than 2.96, if even that..
On 30/04/2010 12:14, Timo Sirainen wrote:
"The attribute pure is not implemented in GCC versions earlier than 2.96."
How ancient gcc version do you have?
GCC 2.95, now replaced with 3.04, no more warning.
../../sieve-error.h:30: argument format specified for non-function `sieve_error_func_t'
I guess this is the error. You could remove ATTR_FORMAT(3, 4) from the code in there.
Thanks, removed and now it compiles.
On Fri, 2010-04-30 at 12:39 +0200, mailing@securitylabs.it wrote:
GCC 2.95, now replaced with 3.04, no more warning.
../../sieve-error.h:30: argument format specified for non-function `sieve_error_func_t'
I guess this is the error. You could remove ATTR_FORMAT(3, 4) from the code in there.
Thanks, removed and now it compiles.
Do you mean you had to remove the ATTR_FORMAT also with gcc 3.0.4?
On 30/04/2010 12:41, Timo Sirainen wrote:
On Fri, 2010-04-30 at 12:39 +0200, mailing@securitylabs.it wrote:
GCC 2.95, now replaced with 3.04, no more warning.
../../sieve-error.h:30: argument format specified for non-function `sieve_error_func_t'
I guess this is the error. You could remove ATTR_FORMAT(3, 4) from the code in there.
Thanks, removed and now it compiles.
Do you mean you had to remove the ATTR_FORMAT also with gcc 3.0.4?
Yes, otherwise it stops with the same error.
Timo Sirainen wrote:
On Fri, 2010-04-30 at 12:39 +0200, mailing@securitylabs.it wrote:
GCC 2.95, now replaced with 3.04, no more warning.
../../sieve-error.h:30: argument format specified for non-function `sieve_error_func_t'
I guess this is the error. You could remove ATTR_FORMAT(3, 4) from the code in there.
Thanks, removed and now it compiles.
Do you mean you had to remove the ATTR_FORMAT also with gcc 3.0.4?
Now I am wondering which GCC version first supported using __attribute__((format ... )) for use with function type declarations...
Regards,
Stephan.
participants (3)
-
mailing@securitylabs.it
-
Stephan Bosch
-
Timo Sirainen