[Mailman-Users] send digest command
Jon Carnes
jonc at haht.com
Fri Feb 22 01:06:30 CET 2002
POC! Copy the file ~mailman/cron/senddigests to
~mailman/cron/send<listname>digest
Next, edit the new file so that it only runs the digest for <listname>
(get rid of the first "for" statement and in the second statement, change
'listname' to '"<listname>"')
I think that should work. If not play with it a bit on a test list. It
shouldn't take more than an hour to get it working the way you want.
Now when you want to send a digest for that specific list run:
/usr/local/bin/python -S /home/mailman/cron/send<listname>digest
Hope this helps,
Jon Carnes
----- Original Message -----
From: "Michael Johnson" <xyllah at hotmail.com>
To: <tdavis at birddog.com>; <johnsonamichael at qwest.net>
Cc: <mailman-users at python.org>
Sent: Wednesday, February 20, 2002 2:28 AM
Subject: RE: [Mailman-Users] send digest command
>
> No idea. I'd check the documentation. I believe (and I haven't researched
> this) that it will trigger digests for all lists on that particular
Mailman
> system. I'm sure if I'm wrong someone will pipe in that knows a bit more
> about it.
>
>
> >From: "Terry Davis" <tdavis at birddog.com>
> >
> >Thank you and excuse me for my laziness. :(
> >
> >This suggests all lists. Can this be done on a per list or per user
basis?
> >
> >Thank you once again!
> >
> >--
> >Terry Davis
> >Systems Administrator
> >BirdDog Solutions, Inc.
> >
> >
> >Quoting Michael Johnson <johnsonamichael at qwest.net>:
> >
> > Always helps to help oneself and do a bit of reading.
> >
> > http://www.list.org/admins.html
> >
> > Cron scripts
> > Mailman comes with a number of scripts that are typically only run by
> >cron.
> > However, it is generally okay for the site administrator to run these
> > scripts manually, say to force a sending of accumulated digests, or to
> >mail
> > out member passwords, etc. You generally run these by invoking the
Python
> > executable on them, like so:
> > % cd /home/mailman
> > % python -S cron/senddigests
> >
> > The -S option is an optimization and (minor) security recommendation;
it
> > inhibits Python's implicit import site on initialization. Not all of
> >these
> > scripts support the --help option. Here is a brief description of what
> >the
> > cron scripts do:
> > <snip>
> >
> >
> > > -----Original Message-----
> > > From: mailman-users-admin at python.org
> > > [mailto:mailman-users-admin at python.org]On Behalf Of Terry Davis
> > > Sent: Tuesday, February 19, 2002 4:10 PM
> > > To: mailman-users at python.org
> > > Subject: [Mailman-Users] send digest command
> > >
> > >
> > > Is it possible to force a digest somehow? Like with a command either
> > > sent over email or directly out of cron on the box?
> > >
> > > --
> > > Terry Davis
> > > Systems Administrator
> > > BirdDog Solutions, Inc.
> > > (402) 829-6059
> > > www.birddog.com
> > >
> > >
> > > ------------------------------------------------------
> > > Mailman-Users maillist - Mailman-Users at python.org
> > > http://mail.python.org/mailman/listinfo/mailman-users
> > >
> > >
> >
> >
> >
> >
> >
> >------------------------------------------------------
> >Mailman-Users maillist - Mailman-Users at python.org
> >http://mail.python.org/mailman/listinfo/mailman-users
> >
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at
http://explorer.msn.com/intl.asp.
>
>
> ------------------------------------------------------
> Mailman-Users maillist - Mailman-Users at python.org
> http://mail.python.org/mailman/listinfo/mailman-users
More information about the Mailman-Users
mailing list