I think it's in /etc/login.defs. The line you want is MAIL_CHECK_ENAB yes I don't know if it will work with directories, so you can disable it by changing the yes to a no. Hope that helps.