[Pkg-shadow-devel] Bug#322073: login: QMAIL_DIR not supported
Nicolas François
nicolas.francois at centraliens.net
Tue Aug 9 00:01:07 UTC 2005
Hello,
On Tue, Aug 09, 2005 at 01:04:17AM +0200, arjanoosting at home.nl wrote:
> I tried out the new version of login and passwd from experimental, and because I use
> Maildir I have set QMAIL_DIR in /etc/login.defs. But when I login, login complains:
>
> configuration error - unknown item 'QMAIL_DIR' (notify administrator)
Thanks for testing this new version of shadow.
A lot of /etc/login.defs variables have been removed because they were
redundant with other settings from PAM.
In this case, you have to verify that the pam_env module is used in
/etc/pam.d/login, which should contain:
auth required pam_env.so
And configure /etc/security/pam_env.conf:
MAILDIR DEFAULT=~/Maildir
(Note that $HOME is not available so you can't use ${HOME}/Maildir)
Can you try it and report here if it work?
Thanks again for reporting this issue,
--
Nekral
More information about the Pkg-shadow-devel
mailing list