On Oct 16 1999, Russell Nelson wrote:
> Todd A. Jacobs writes:
>  > How can I modify the frequency at which qmail processes the queue?
> 
> You can't, because qmail doesn't "process the queue".  Each message
> has its own retry schedule, and qmail-send sleeps until the next
> message needs to be retried.  Somebody figured it out -- I think it's
> in Dave Sill's LWQ document.

        This is something I had the pleasure of discussing with Dave
        Sill some time ago:

        As far as I know, qmail has 2 channels (as DJB seems to call
        them) of messages: the local and the remote channels.

        The formula for the time of a "next delivery" of a message
        that has not yet been successfully delivered *after* the i-th
        time it was tried is:

        next_retry = birth + (i*c)^2,

        where birth is the time when the message has first entered the
        queue, c = 10 for local messages and c = 20 for remote
        messages.

        So, if you make a table of those values for c = 20 (that is
        remote deliveries) and i = 0, ..., 39, you should get the
        table Dave Sill has put on his site.

        The relevant code is in qmail-send.c, function nextretry().

> What problem are you trying to solve?

        He is problem is probably related to trigger not being group
        and world writable, me thinks...


        []s, Roger...

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Rogerio Brito - [EMAIL PROTECTED] - http://www.ime.usp.br/~rbrito/
     Nectar homepage: http://www.linux.ime.usp.br/~rbrito/opeth/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Reply via email to