Quoting Henrique de Moraes Holschuh ([EMAIL PROTECTED]):
> Package: login
> Version: 1:4.0.12-2
> Severity: important
> 
> Recent changes to login appear to have killed login.defs support for
> maildir.  The comments in login.defs do not reflect that. 
> 
> For a maildir tree at /var/mail/<user>/, we get MAIL=/ when the user logins.
> 
> pam.d/login has noenv specified for the mail pam module.

That seems to be the problem. We certainly need to remove the "noenv"
directive from the pam_mail line in the default login PAM
configuration file:

# Prints the status of the user's mailbox upon succesful login
# (Replaces the `MAIL_CHECK_ENAB' option from login.defs). You
# can also enable a MAIL environment variable from here, but it
# is better handled by /etc/login.defs, since userdel also uses
# it to make sure that removing a user, also removes their mail
# spool file.
session    optional   pam_mail.so standard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to