[Mailman-Users] moderate using SSH..

Mark Sapiro mark at msapiro.net
Tue Aug 10 02:02:57 CEST 2010


Khalil Abbas wrote:
>
>is there a way to view and accept or reject held messages using command line via SSH instead of opening the web interface?


You can view the mail via

  bin/dumpdb data/heldmsg-LIST-NNN.pck

Or, if HOLD_MESSAGES_AS_PICKLES is set to No in mm_cfg.py

  cat data/heldmsg-LIST-NNN.txt

You can discard it with bin/discard. There is no command line tool to
accept or reject a message, but it would be fairly straightforward to
create one.

On the other hand, you could just use lynx, links or elinks to invoke
the web interface from the command shell, but this would require the
web interface to be accessible at least from localhost.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list