Article ID: 5619, created on Oct 8, 2008, last review on May 11, 2014

  • Applies to:
  • Plesk 8.x for Linux/Unix


I see the following error message during connection to my 'qmail' in Plesk system:

rcpt to:<>
421 fopen('users/assign') failed (#5.7.10) Permission denied
Connection closed by foreign host.

How to fix it?


Standard access rights for the directory /var/qmail/users/assign should be the following:

~# ls -ld /var/qmail/users/assign
-rw------- 1 root root 738 Sep 24 16:53 /var/qmail/users/assign

The reason of the mentioned failure is lack of 'suid' bit on these files:

~# ls -l /var/qmail/bin/smtp_auth
-r-xr-xr-x 1 root root 15172 Jun  8 12:48 /var/qmail/bin/smtp_auth

~# ls -l /var/qmail/plugins/chkrcptto
-r-xr-xr-x 1 root root 15788 Jun  8 12:48 /var/qmail/plugins/chkrcptto

adding this 'suid' bit should solve the problem:

~# chmod u+s /var/qmail/bin/smtp_auth
~# chmod u+s /var/qmail/plugins/chkrcptto

Very often such issue with lack of 'suid' bit might be due to failed Plesk upgrade, e.g. some of packages like 'qmail' were not upgraded correctly from earlier versions, and this caused this error.
To fix this problem please complete upgrade procedure of such packages to the latest version - this should help.

b8ef5052d936e902043e41759118114e a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF