postscreen_cache.db no such file | postfix forwarding delay

hk@

Renowned Member
Feb 10, 2010
247
7
83
Vienna
kapper.net
Hi
what we see quite frequently in the syslog:

May 29 12:44:47 mailgate postfix/postscreen[14110]: close database /var/lib/postfix/postscreen_cache.db: No such file or directory (possible Berkeley DB bug)

and could you please elaborate on the logistics on forwarding as we see the following:

proxmox MG try to check the destination email for existence (as configured), but due to wrong configuration at the destination mailserver it receives a 450 error and therefore denies to receive the email - this is perfectly fine.
after a few minutes the source server tries to deliver this email again, now proxmox MG responds using the cached 450 error response without contacting the destination server for a very long time.

Where could we either force proxmox/postfix to ask the destination again or how could we reduce the caching time for those responses?

thank you in advance,
hk
 
First, you can ignore that warning.

The cache is stored in /var/lib/postfix/verify_cache.db. Simply delete the file to empty the cache (maybe restart postfix).

The address_verify_negative_refresh_time is set to 3 hours by default.

Also see

# man 8 verify

for a more detailed description
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!