Mail does not work: poplock.db: No such file or directory

Created:

2016-11-16 12:40:31 UTC

Modified:

2017-08-16 17:11:34 UTC

1

Was this article helpful?


Have more questions?

Submit a request

Mail does not work: poplock.db: No such file or directory

Applicable to:

  • Plesk 10.x for Linux
  • Plesk 11.x for Linux
  • Plesk 12.0 for Linux

Symptoms

Getting the following error in logs:

    fatal: open database /var/spool/postfix/plesk/poplock.db: No such file or directory

Cause

File /var/spool/postfix/plesk/poplock.db is absent on the system.

Resolution

poplock.db file is a link to /var/spool/postfix/plesk-pop/poplock.db . Make sure that it exists:

    # ls -la /var/spool/postfix/plesk
total 112
drwxrwx--- 2 postfix postfix 4096 Feb 6 10:24 .
drwxr-xr-x 18 root root 4096 Jun 6 2014 ..
-rw-r--r-- 1 root root 12288 Oct 29 16:23 aliases.db
-rw-r--r-- 1 root root 12288 Oct 29 16:22 blacklists.db
-rw-r--r-- 1 root root 1 Jun 24 2014 master.cf.disabled
-r--rw---- 1 postfix root 13312 Feb 6 10:24 passwd.db
-r--r----- 1 postfix root 32 Oct 29 16:23 passwd_db_key
lrwxrwxrwx 1 root root 23 Oct 29 16:22 poplock.db -> ../plesk-pop/poplock.db

Link it to file if it is necessary.

Execute the command below to reconfigure all mail settings:

# /usr/local/psa/admin/sbin/mchk --with-spam
Have more questions? Submit a request
Please sign in to leave a comment.