[SWLUG] Maildir

Philip Downer philip.downer at btinternet.com
Sun Nov 17 17:20:16 UTC 2002


On Fri, 2002-11-15 at 16:01, Philip Downer wrote:
> I've been having some problems trying to convert my mail into the
> Maildir format instead of mbox, although I think that I may have sorted
> some of the issues out I still have one thing that is bugging me.
> 
> There is a environment variable MAIL which is supposed to be set in
> login.defs thusly:
> 
> MAIL_DIR	/var/mail
> 
> However changing this setting does not alter the environment variable
> MAIL, it always seems to point to /var/mail. I do have pam and have
> checked through pam.d/ and pam.conf and there does not appear to be
> anything in there that would overwrite the setting in login.defs, indeed
> it says in the comments not to set MAIL variable in pam but rather to do
> it in login.defs.
> 
> If anyone knows what may be setting this variable I'd be very grateful,
> oh and just to clarify, I'm running Debian.

I've 'fixed' this problem now, it appears that ssh doesn't look at
login.defs it must have it's own settings somewhere (I'm assuming) but
I've just connected a monitor to the mail server and logging in sets the
variable correctly, doh!

phil.





More information about the Swlug mailing list