Hello,
On Tue, Aug 09, 2005 at 01:04:17AM +0200, [EMAIL PROTECTED] 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
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]