On Fri, 2018-10-12 at 11:31 -0700, Mark Sapiro wrote: > cd /usr/lib64/mailman/ > for list in `bin/list_lists --bare`; do > if [ -f lists/$list/pending.pck ]; then > echo $list > bin/dumpdb lists/$list/pending.pck|grep evictions > fi > done
Thanks for the code, Mark. I should note, though, that dumpdb expects a FQPN (if the path isn't relative to the PWD), and I believe the default for most MM installs is to put the python pickle files under /var/lib/mailman, so this line, for anyone else who might want to use or document it, should be bin/dumpdb /var/lib/mailman/lists/$list/pending.pck|grep evictions This, at least, is how things are laid out here, although perhaps the standard now is to put the lists dir under /usr/lib64/mailman. -- Lindsay Haisley | "The first casualty when FMP Computer Services | war comes is truth." 512-259-1190 | http://www.fmp.com | -- Hiram W Johnson ------------------------------------------------------ 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