Hello Tomasz, userdel and usermod need the MAIL_DIR variable to delete/move the mail box of the user. This is also the case when PAM is enabled. Thus this variable can't be removed from login.defs. The documentation of this variable should indicates that it it used by userdel/usermod. -- Nekral