[Dovecot] Antispam plugin not compatible with Dovecot 2.1
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' mailbox.c: In function 'antispam_save_finish': mailbox.c:174:12: error: 'struct mail_save_context' has no member named 'copying' Failed to compile mailbox.c (plugin)! gmake[3]: *** [mailbox.plugin.o] Error 1
The other objects compile fine.
Cheers,
Olivier
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".
On Wed, 18 Jan 2012 16:34:18 +0200, Timo Sirainen tss@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@raptor.kiev.ua | -----------(==* | The Matrix
On Wed, 2012-01-18 at 18:19 +0200, Eugene Paskevich wrote:
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?
Where do you expect to find such macro? ;) Hm. Perhaps I should try to add one.
On Wed, 18 Jan 2012 18:31:49 +0200, Timo Sirainen tss@iki.fi wrote:
On Wed, 2012-01-18 at 18:19 +0200, Eugene Paskevich wrote:
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?Where do you expect to find such macro? ;) Hm. Perhaps I should try to add one.
Heh. That's Johannes' package private macro... :)
-- Eugene Paskevich | *==)----------- | Plug me into eugene@raptor.kiev.ua | -----------(==* | The Matrix
"Eugene Paskevich" eugene@raptor.kiev.ua writes:
On Wed, 18 Jan 2012 18:31:49 +0200, Timo Sirainen tss@iki.fi wrote:
On Wed, 2012-01-18 at 18:19 +0200, Eugene Paskevich wrote:
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?
Where do you expect to find such macro? ;) Hm. Perhaps I should try to add one.
Heh. That's Johannes' package private macro... :)
I notice that Johannes hasn't made a 2.1 version of the anti-spam plugin, Eugene were you able to build one successfully? If so, would you be willing to share your changes that were required to make it work?
thanks, micah
participants (4)
-
Eugene Paskevich
-
interfaSys sàrl
-
Micah Anderson
-
Timo Sirainen