> Can you copy the dict_mongodb.* files into your environment and see
> what I broke? They should still build with postfix-3.8-20220527.

I just did, and they build fine. However, I get a linking error when trying to 
use the library:
"Dec 05 23:45:05 mail postfix/proxymap[29029]: fatal: load_library_symbols: 
dlopen failure loading /usr/lib/postfix/postfix-mongodb.so: Error relocating 
/usr/lib/postfix/postfix-mongodb.so: mongoc_collection_find_with_opts: symbol 
not found"

I do not have this issue with the one building from my repo. Tried it with 
version 3.7.8 (default for alpine 3.16 which is my testing platform at the 
moment), and also tried it on the build box with version 3.9-20231112, same 
issue.
Will look into that, run some tests as soon as that is fixed and let you know.

Regards
Hamid Maadani

December 3, 2023 5:01 PM, "Wietse Venema via Postfix-devel" 
<postfix-devel@postfix.org> wrote:

> Hamid Maadani via Postfix-devel:
> 
>> Yes sir. the last two commit in this branch should cover everything needed:
>> https://github.com/21stcaveman/postfix/tree/mongodb
> 
> I forked Viktor's repo and added a version of your code and
> documentation relative to the last Postfix 3.9 development release.
> 
> The code is untested and there are some comments with XXX(Wietse)
> for items that need attention. One is whether we need to quote
> metacharacters in the Postfix lookup key.
> 
> Can you copy the dict_mongodb.* files into your environment and see
> what I broke? They should still build with postfix-3.8-20220527.
> 
> https://github.com/wietse-postfix/postfix-dukhovni/tree/mongodb
> 
> Wietse
> _______________________________________________
> Postfix-devel mailing list -- postfix-devel@postfix.org
> To unsubscribe send an email to postfix-devel-le...@postfix.org
_______________________________________________
Postfix-devel mailing list -- postfix-devel@postfix.org
To unsubscribe send an email to postfix-devel-le...@postfix.org

Reply via email to