Thanks, compilation works fine now.
Guillaume Hilt
Le 31/03/2012 19:01, e-frog a écrit :
On 31.03.2012 18:55, wrote Guillaume Hilt:
Hello,
Last dovecot available version on Ubuntu 11.10 AMD64 is dovecot 2.0.13. dovecot-antispam package is compiled for dovecot 2.0.15.
So, i'm trying to compile a new dovecot antispam plugin. I followed dovecot wiki but i'm running into this error : Successfully compiled dspam.c (plugin). mailbox.c: In function 'antispam_save_begin': mailbox.c:138:12: error: 'struct mail_save_context' has no member named 'copying_via_save' mailbox.c: In function 'antispam_save_finish': mailbox.c:174:12: error: 'struct mail_save_context' has no member named 'copying_via_save' Failed to compile mailbox.c (plugin)!
Any hint please ?
Regards,
Revert this patch and it should work:
http://hg.dovecot.org/dovecot-antispam-plugin/rev/5e8351bcfb29