On 09/11/2016 03:14 PM, Matt Morgan wrote:
> 
> digestable=Yes
> digest_is_default=Digest
> mime_is_default_digest=Plain
> digest_size_threshold=0
> digest_send_periodic=No


Two things:

If digest_send_periodic=No, cron/senddigests will never send a digest
for this list. You want digest_send_periodic=Yes.

More importantly, if your Mailman is older than 2.1.16,
digest_size_threshold=0 means send a digest with every post rather than
unlimited size. See <https://bugs.launchpad.net/mailman/+bug/558274>.

You can fix it with the attached patch or just set
digest_size_threshold=1000 or some other big number.

-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
=== modified file 'Mailman/Handlers/ToDigest.py'
--- Mailman/Handlers/ToDigest.py	2011-11-11 20:55:16 +0000
+++ Mailman/Handlers/ToDigest.py	2013-03-11 03:27:18 +0000
@@ -1,4 +1,4 @@
-# Copyright (C) 1998-2011 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2013 by the Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or
 # modify it under the terms of the GNU General Public License
@@ -86,7 +86,8 @@
     # whether the size threshold has been reached.
     mboxfp.flush()
     size = os.path.getsize(mboxfile)
-    if size / 1024.0 >= mlist.digest_size_threshhold:
+    if (mlist.digest_size_threshhold > 0 and
+        size / 1024.0 >= mlist.digest_size_threshhold):
         # This is a bit of a kludge to get the mbox file moved to the digest
         # queue directory.
         try:

------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to