What is /etc/login.defs?

The /etc/login.d file is containing the basic settings for newly created user on server like MAIL_DIR /var/spool/mail