[Dovecot] antispam plugin signature-log backend with v1.1.2
Hello,
Is the signature-log backend of the antispam plugin broken when compiling with dovecot version 1.1.2? I'm using version 1.0 of the antispam plugin. It looks like there isn't anything more recent.
cc -c -DCONFIG_DEBUG -DDEBUG_SYSLOG -fPIC -shared -Wall -Wextra -DPLUGINNAME=antispam -DHAVE_CONFIG_H -I../dovecot-1.1.2/ -I../dovecot-1.1.2/src/ -I../dovecot-1.1.2/src/lib/ -I../dovecot-1.1.2/src/lib-storage/ -I../dovecot-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’ signature-log.c:128: error: incompatible type for argument 2 of ‘mail_storage_set_error’ signature-log.c:128: error: too few arguments to function ‘mail_storage_set_error’ make: *** [signature-log.o] Error 1
Thanks, Alexander
The antispam plugn has, IMO, suboptimal logging. I had problems with it too. I have patches for it that helped me debug the situation, and I'll be submitting them to the FreeBSD ports maintainer as I didn't get any response when I emailed the antispam plugin author.
H
On Mon, 2008-09-22 at 13:52 +0200, Alexander Prinsier wrote:
Interesting, I never thought it did properly, maybe it depends on the database.
I'll see what I can do to fix it, or I'll use another version of dovecot if I can't get it fixed :)
It shouldn't be too hard. I don't have much time for that these days, but if you don't manage give me a note, and otherwise I would take and apply the patch :)
johannes
participants (4)
-
Alexander Prinsier
-
Harlan Stenn
-
Johannes Berg
-
mike@mrgfd.org.ua