Date: Tue, 19 Feb 2002 23:20:01 -0800 (PST) From: Peter Pentchev <roam@ringlet.net> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/35129: Maildir support in login(1) Message-ID: <200202200720.g1K7K1T37090@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/35129; it has been noted by GNATS. From: Peter Pentchev <roam@ringlet.net> To: Andrew Hesford <ajh3@cec.wustl.edu> Cc: FreeBSD-gnats-submit@freebsd.org, jester@core.usrlib.org Subject: Re: bin/35129: Maildir support in login(1) Date: Wed, 20 Feb 2002 09:16:23 +0200 On Tue, Feb 19, 2002 at 08:56:47PM -0600, Andrew Hesford wrote: > > >Number: 35129 > >Category: bin > >Synopsis: Maildir support in login(1) > >Originator: Andrew Hesford > > >Description: > login(1) checks a user's mbox file upon login, and if it finds > messages, reports to the user if there is mail (and whether or > not it is new). For systems where Qmail Maildir is used for > mail, this functionality is lost. I have produced a patch that > will use the $MAILDIR/cur and $MAILDIR/new directories to > determine if a user has mail (and whether or not it is new). It > will then report this on login, just as with mbox mail files. With all due respect for your work (and thank you for it!), I believe that this might be better done as a PAM module, so it could be used by other login methods not involving login(1) (like SSH with UseLogin set to 'no', as I do on most of my machines). I started work on a pam_mailcheck module a while ago, but Real Life(tm) and Real Work(tm) kind of overtook it.. I think that your patches to login(1) might as well serve as a nice prod :) And in the meantime, thanks again for your patches - they may serve well until pam_mailcheck is ready :) G'luck, Peter -- Peter Pentchev roam@ringlet.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 I've heard that this sentence is a rumor. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202200720.g1K7K1T37090>