Doesn't build against dovecot 2.3.18 or above
Doesn't build against dovecot 2.3.18 or above. This includes Debian Bookworm (current Stable).
Reason is that dovecot broke their own "detect dovecot version" macro for plugins, DOVECOT_PREREQ
. Yes, I sh*t you not. This means you literally cannot use the version checking macro anymore because you'd need a version checking macro to check which version macro to use. Replacing the version checking macro fixes the build.
Ref: https://doc.dovecot.org/developer_manual/design/plugins/#versioning
Changed in version v2.3.18: added the 3rd micro-version parameter.
Is this plugin here still maintained? If there is a chance it'll be merged, imma write a patch to fix this issue.