postscreen: close database /var/lib/postfix/postscreen_cache.db: No such file or directory

Wenn man postscreen unter Debian 7 und 8 nutzt, kommt es im Regelfall zu folgender Fehlermeldung:
Jun 20 13:45:44 mail01 postfix/postscreen[6086]: close database /var/lib/postfix/postscreen_cache.db: No such file or directory (possible Berkeley DB bug)

Wie fixed man das ganze?

systemctl stop postfix
cd /var/lib/postfix
mkdir -p /var/spool/postfix/var/lib/postfix
mv postscreen_cache.db /var/spool/postfix/var/lib/postfix
ln -s /var/spool/postfix/var/lib/postfix/postscreen_cache.db
systemctl start postfix
This entry was posted in General, Linux. Bookmark the permalink.

2 Responses to postscreen: close database /var/lib/postfix/postscreen_cache.db: No such file or directory

  1. Marco says:

    Danke für die Anleitung :)

  2. AlexJ says:

    You have to change:

    mkdir -p /var/spool/postfix/var/lib/postfix

    to

    mkdir -p /var/spool/postfix/var/lib/postfix && chown postfix:postfix /var/spool/postfix/var/lib/postfix

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.