Actually, one postfix is running on Linux and requires lmdb: the other is running on macOS and requires btree:
This works on Linux: smtp inet n - n - 1 postscreen 991 inet n - n - 1 postscreen -o postscreen_upstream_proxy_protocol=haproxy -o postscreen_cache_map=lmdb:$data_directory/postscreen_haproxy_cache This works on macOS: smtp inet n - n - 1 postscreen 991 inet n - n - 1 postscreen -o postscreen_upstream_proxy_protocol=haproxy -o postscreen_cache_map=btree:$data_directory/postscreen_haproxy_cache So, they now both can handle postscreen side-by-side on two ports where one port required haproxy and the other does not. G > On 15 Jan 2023, at 21:03, Benny Pedersen <m...@junc.eu> wrote: > > Gerben Wierda skrev den 2023-01-15 19:50: > > i can do top post aswell :) > > change btree to lmdb will imho solve it > >> Let me guess: my two postscreen instances side by side on different >> ports? >> G >> Sent from my iPhone >>> On 15 Jan 2023, at 19:26, Gerben Wierda <gerben.wie...@rna.nl> >>> wrote: >>> >>> For some reason, one of my postfix servers says this: >>> Jan 15 19:18:30 mail postfix/postscreen[1057]: fatal: >>> btree:/opt/local/var/lib/postfix/postscreen_cache: unable to get >>> exclusive lock: Resource temporarily unavailable >>> Jan 15 19:18:31 mail postfix/master[658]: warning: process >>> /opt/local/libexec/postfix/postscreen pid 1057 exit status 1 >>> Jan 15 19:18:31 mail postfix/master[658]: warning: >>> /opt/local/libexec/postfix/postscreen: bad command startup -- >>> throttling >>> Should I just stop postfix, remove >>> /opt/local/var/lib/postfix/postscreen_cache.db (which is there) and >>> restart? >>> Gerben Wierda (LinkedIn [1]) >>> R&A IT Strategy [2] (main site) >>> Book: Chess and the Art of Enterprise Architecture [3] >>> Book: Mastering ArchiMate [4] >> Links: >> ------ >> [1] https://www.linkedin.com/in/gerbenwierda >> <https://www.linkedin.com/in/gerbenwierda> >> [2] https://ea.rna.nl/ <https://ea.rna.nl/> >> [3] https://ea.rna.nl/the-book/ <https://ea.rna.nl/the-book/> >> [4] https://ea.rna.nl/the-book-edition-iii/ >> <https://ea.rna.nl/the-book-edition-iii/>