[Dovecot] Antispam plugin not compatible with Dovecot 2.1

Eugene Paskevich eugene at raptor.kiev.ua
Wed Jan 18 18:19:58 EET 2012


On Wed, 18 Jan 2012 16:34:18 +0200, Timo Sirainen <tss at iki.fi> wrote:

> On Tue, 2012-01-17 at 11:07 +0000, interfaSys sàrl wrote:
>> Here is what I get when I try to compile the antispam plugin agaisnt
>> Dovecot 2.1
>>
>> **************
>> mailbox.c: In function 'antispam_save_begin':
>> mailbox.c:138:12: error: 'struct mail_save_context' has no member named
>> 'copying'
>
> The "copying" should be changed to "copying_via_save".

Thank you, Timo.
Would #if DOVECOT_IS_GE(2,1) suffice or do I need anything more specific?

-- 
Eugene Paskevich             |   *==)-----------   |     Plug me into
eugene at raptor.kiev.ua        |   -----------(==*   |      The Matrix



More information about the dovecot mailing list