[Dovecot] Anti-Spam Plugin! dovecot beta6

Henrique Fernandes sf.rique at gmail.com
Tue Jun 15 16:44:38 EEST 2010


I can compile the antispam plugin.
Cause it compliajns about dovecot version.

Does any one have other way of traing spam with spam assassin ?

I just one if a user move an email to Spam folder dovecot sends an email
with that email he moved for an especific email address, samething if he
moves out is that possible ?

antispam plugin does right ?

the error output for compile.

cc -c  -DCONFIG_DEBUG -DDEBUG_SYSLOG -fPIC -shared -Wall -Wextra
> -DPLUGINNAME=antispam -DHAVE_CONFIG_H -I/usr/include/dovecot/
> -I/usr/include/dovecot/src/ -I/usr/include/dovecot/src/lib/
> -I/usr/include/dovecot/src/lib-storage/ -I/usr/include/dovecot/src/lib-mail/
> -I/usr/include/dovecot/src/lib-imap/ -I/usr/include/dovecot/src/lib-dict/
> -I/usr/include/dovecot/src/lib-index/ -I/usr/include/dovecot/src/imap/ -o
> debug.o debug.c
> In file included from debug.c:5:
> antispam-plugin.h:6:20: error: client.h: No such file or directory
> In file included from antispam-plugin.h:9,
>                  from debug.c:5:
> /usr/include/dovecot/imap-search.h:34: error: field 'result' has incomplete
> type
> /usr/include/dovecot/imap-search.h:46: warning: 'struct imap_arg' declared
> inside parameter list
> /usr/include/dovecot/imap-search.h:46: warning: its scope is only this
> definition or declaration, which is probably not what you want
> /usr/include/dovecot/imap-search.h:50: warning: 'enum mail_sort_type'
> declared inside parameter list
> In file included from debug.c:5:
> antispam-plugin.h:72: warning: 'struct mail_storage' declared inside
> parameter list
> antispam-plugin.h:73: warning: 'struct mail_storage' declared inside
> parameter list
> antispam-plugin.h:87:5: error: token ""2.0.beta6"" is not valid in
> preprocessor expressions
> antispam-plugin.h:92:25: error: missing binary operator before token "("
> antispam-plugin.h:139:27: error: missing binary operator before token "("
> antispam-plugin.h:168:2: error: #error "Building against this dovecot
> version is not supported"
> make: *** [debug.o] Error 1
>



[]'sf.rique


More information about the dovecot mailing list