On Thu, 7 Dec 2000, Jeremy Howard wrote:
> I'd like to see something like this generic notify hook added to the
> distribution--what do others think? The Perl daemon needn't necessarily be
> included, although I think that would be handy too.
Now, that would be nice. We
t; I'd like to see something like this generic notify hook added to the
> distribution--what do others think? The Perl daemon needn't necessarily be
> included, although I think that would be handy too.
I've added (or will add, when I get off this airplane) the Perl daem
Off-list, Steven Lembark wrote:
> Jeremy Howard wrote:
> > So, I've written a little C function that simply passes notifications on
to
> > a Unix socket. I've also written a pre-forking Perl daemon that listens
for
> > these notifications and reads in the information passed to the notify()
> > fun
Jeremy Howard wrote:
>
> As some of you may know, Cyrus has a hook that allows new mail notifications
> to be implemented. It comes with a Zephyr notification hook.
>
> Creating your own notification hook requires writing a C function and
> compiling it in. I'm not that keen on that approach for
he current notify() code does no error checking--I played around with using
non-blocking sockets and select() to make things a bit more solid, but in
the end I went with this more simple approach... This way even if the Perl
daemon dies, the deliver process won't wait.
I'd like to see so