Sean wrote:

>Can anyone point me to the code that checks the digest size for
>the daily senddigests cron job?   Much appreciated.

The daily senddigests cron job does not do any checking of digest size.
The Mailman/Handlers/ToDigest.py handler is responsible for queueing
the digest to be sent when it adds a post that puts the digest mailbox
over the threshhold size.

The periodic job (cron/senddigests) attempts to send a digest only for
lists for which the digest_send_periodic attribute is true. The code is

    for listname in listnames:
        mlist = MailList.MailList(listname, lock=0)
        if mlist.digest_send_periodic:
            mlist.Lock()
            try:
                mlist.send_digest_now()
                mlist.Save()
            finally:
                mlist.Unlock()

It's hard to see how that could possibly send a digest for a list for
which digest_send_periodic is not true.

--
Mark Sapiro <[EMAIL PROTECTED]>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to