On Tue, Oct 31, 2023 at 01:38:13PM -0400, Michael W. Lucas via Postfix-users 
wrote:

> That's what I would have thought. I can run postmap -s and postmap -q
> on the usual db files in /etc/postfix just fine, but when I try it on
> /var/db/postfix/postscreen_cache.db it just hangs:

That's expected.  The "postmap -s" command takes a read lock, the
"postscreen" service holds a write lock.  For snapshot reads, you
need LMDB not Berkeley DB.

Otherwise, you can read the database after stopping "postscreen".

-- 
    Viktor.
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to