stefan@myserver:~/sources/dovecot-dspam-plugin/dovecot-1.0.beta3/plugin$ gcc -fPIC -shared -Wall -I../src/ -I../src/lib -I.. -I../src/lib-storage -I../src/lib-mail -I../src/lib-imap -I../src/imap/ -DHAVE_CONFIG_H spam_plugin.c -o spam_plugin.so
In file included from ../src/imap/common.h:4, from spam_plugin.c:32: ../src/lib/lib.h:6:22: config.h: No such file or directory [...] or storage class
You need to run ./configure for dovecot at a minimum, possibly even a make, I don't know that one for certain.
Leeman
thanks, i'd hoped it would be something trivial :)
to whom it may concern: the dspam-plugin-version "beta2" did not work with current debian stable package [dovecot 0.99.1] due to an "undefined symbol: mailbox_keywords_create", but there is an unstable package containing dovecot 1.0beta3 which seems to work fine. therefore as so very often you have to decide between better security or more features ;)
stefan