[PATCH] Maildir support
Martin Johansson
martin at fatbob.nu
Tue Aug 14 07:50:37 EST 2001
On Mon, Aug 13, 2001 at 09:05:59PM +0200, Jakob Schlyter wrote:
> On Mon, 13 Aug 2001, Martin Johansson wrote:
>
> > On Mon, Aug 13, 2001 at 05:00:22PM +0200, Jakob Schlyter wrote:
> >
> > > why should OpenSSH even bother checking mail? isn't that what your
> > > mailreader is for? I think this is featurism.
> >
> > Well, it already does (see the configuration keyword CheckMail in
> > sshd's man page), but only for mbox style mailboxes. The patch does
> > not add a feature but tweaks an already existing feature to work
> > with Maildir style mailboxes.
>
> should we also add support for MH, MBX and - why not - imap or pop?
>
I don't really care since I'm not using these formats/protocols on my
system. Those that feel the need for that kind of support would probably
be sending in patches, right?
To be a little more constructive, one could add the ability to call an
external program to do the mail check, instead of doing it internally,
and have a solution that works for everybody who wants this, regardless
of the mail file format they use.
As it is now, it supports one out of, ..counting... , four formats,
although I guess MBX is already supported since it uses a single file to
store the mails in. Six if we really would want to have IMAP and POP
checking also...
The current feature seems pretty crippled in the light of this, and
should be replaced with a more general one, like the one described above,
or dropped totally.
I'm not demanding that my patch must go into the the official codebase,
it's a couple of minutes of hand patching for me each new release, which
I can live with. I just figured that there probably are some other people
out there that want to have this working, and posted the patch in the hope
that it'd be useful to someone more than me.
/Martin
More information about the openssh-unix-dev
mailing list