[EMAIL PROTECTED] wrote, but did not CC everyone:
> 
> On Tue, 14 Dec 1999 01:57:59 +0000 , "David L. Nicol" writes:
> > Looking at the the qmail-remote.c program, I suppose the patch would
> > first define an error handler like all the other error handlers :
> >
> > void temp_policy_size() { out("Z\
> > Message is too large to send during peak time. (#4.3.0)\n"); zerodie();
> > }
> >
> > Then, find a place where we can stat the message text....  No, we can't
> > at all because qmail-remote reads stdin -- although we could read stdin
> > until we have enough, and issue the error the same place djb issues the
> > "out of memory" temporary system error --
> 
> Actually, you could just use fstat() on stdin.  That
> would give you the file size, since qmail-remote's
> stdin should be a regular file.
> 
> I like the idea of modifying external state from a
> cron job -- that makes it much more flexible.
> 
> The one gotcha is that qmail-send's back-off might
> skip the "big message window," so you should probably
> ALRM qmail-send when you switch policy.
> 
> --
> Chris Mikkelson  | Setting delivery schedules is easy enough using the
> [EMAIL PROTECTED] | I Ching, astrology, psychic hotlines, or any of the
>                  | well-known scatomantic and necromantic methodologies.
>                  | Meeting your prophetic deadlines, though, is another
>                  | bowl of entrails.   -- Stan Kelly-Bootle

Reply via email to