If your mail server stops working (neither incoming nor outgoing email works) and you find the following error message in the mail.log file:

fatal: open database /var/lib/postfix/smtpd_scache.db: File exists

then the smtpd_scache.db might got corrupted. Postfix will recreate this file if it does not exist. So it can be removed to solve the issue:

/etc/init.d/postfix stop
rm -f /var/lib/postfix/smtpd_scache.db
/etc/init.d/postfix start

Thanks to Alexander Fox for sending me this FAQ.

Solution for: fatal: open database /var/lib/postfix/smtpd_scache.db: File exists

One thought on “Solution for: fatal: open database /var/lib/postfix/smtpd_scache.db: File exists

  • Permalink

    My email return address says Dnsbl Sorbs.net also

    Thank You
    Kim

    Reply

Leave a Reply

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

*

Ad #native_company# — #native_desc# #native_cta#