[Dovecot] Problem compiling dovecot-antispam on Ubuntu 11.10 using Doveot 2.0.13

e-frog e-frog at gmx.de
Sat Mar 31 20:01:53 EEST 2012


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







More information about the dovecot mailing list