[jakob at crt.se: Re: [PATCH] Maildir support]

Darren Moffat Darren.Moffat at eng.sun.com
Tue Aug 14 07:12:35 EST 2001


>Personally, (Just my IMHO) CheckMail should go away.  There are too
>many different formats and it should not be SSHD's job to understand
>them.  It's biff and other evil program's responsiblity to do such
>things.

And IMHO PrintMOTD as well, since both CheckMail and PrintMOTD are often
implemented either in a PAM module on some Linux systems or via the
global shell profile (/etc/profile, /etc/.login) on others.

Getting rid of both of these gets rid of big chunk of code of of sshd
that is too heavily indented.

I also think that if CheckMail goes away then so should setting of the
MAIL environment variable.  If CheckMail stays then we should only set
the MAIL environment variable if CheckMail is on.

--
Darren J Moffat




More information about the openssh-unix-dev mailing list