[Mailman-Users] Disallow digest, but getting warning

Ralf Hildebrandt Ralf.Hildebrandt at charite.de
Thu Apr 14 13:40:40 CEST 2011


* Ralf Hildebrandt <Ralf.Hildebrandt at charite.de>:

> > Warning: You have digest members, but digests are turned off. Those
> > people will not receive mail.
> > 
> > > But WHICH members?
> 
> I patched mailman to emit that info.
> m(

--- /usr/src/mailman-2.1.14/Mailman/Cgi/admin.py	2010-12-02 08:41:27.000000000 +0100
+++ /usr/src/mailman-2.1.14/Mailman/Cgi/admin.py	2011-04-14 13:34:53.533844622 +0200
@@ -189,11 +189,15 @@
                 _('''You have digest members, but digests are turned
                 off. Those people will not receive mail.'''),
                 tag=_('Warning: '))
+            doc.addError(mlist.getDigestMemberKeys(),
+                tag=_('Warning: '))
         if not mlist.nondigestable and mlist.getRegularMemberKeys():
             doc.addError(
                 _('''You have regular list members but non-digestified mail is
                 turned off.  They will receive non-digestified mail until you
                 fix this problem.'''), tag=_('Warning: '))
+            doc.addError(mlist.getRegularMemberKeys(),
+                tag=_('Warning: '))
         # Glom up the results page and print it out
         show_results(mlist, doc, category, subcat, cgidata)
         print doc.Format()


-- 
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netzwerk
  Charité - Universitätsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12203 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  ralf.hildebrandt at charite.de | http://www.charite.de
	    


More information about the Mailman-Users mailing list