Re: [Mailman-Users] sending mail to members in batches

2004-12-03 Thread Brad Knowles
At 11:25 AM +0900 2004-12-03, Stephen J. Turnbull wrote:
 I agree with your analysis, but that may or may not be the desired
 effect here.  In particular, it may be desirable to throttle Mailman
 specifically to something lower than the system-wide limit.  The MTA
 may or may not be able to limit specific usages (how would it know?)
 or users (in this case, Mailman usually has a unique uid, so that
 would work).
	I agree that throttling would be a good thing to have, both 
within Mailman itself, and also within the MTA.  However, we don't 
have any control over the MTA, so all we can worry about is what 
happens within Mailman.

	This is a an example of a classic limitation of most open-source 
projects -- there are all sorts of things that various people would 
like the system to do, but a limited number of people who are 
actually hacking on the code.

	If someone cares enough about this subject to generate a patch 
and upload that via the tracker at 
http://sourceforge.net/tracker/?group_id=103atid=300103, then the 
rest of us could at least check it out and see what we think.  Once 
generated and uploaded, that would have a much greater chance of 
getting included in an future revision.

	Alternatively, this should be added as a Request For Enhancement 
via the tracker at 
http://sourceforge.net/tracker/?group_id=103atid=350103, and 
people just have to hope that someone who is hacking on the code 
decides to pick up this issue at some point in the not-to-distant 
future.

--
Brad Knowles, [EMAIL PROTECTED]
Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety.
-- Benjamin Franklin (1706-1790), reply of the Pennsylvania
Assembly to the Governor, November 11, 1755
  SAGE member since 1995.  See http://www.sage.org/ for more info.
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


Re: [Mailman-Users] sending mail to members in batches

2004-12-02 Thread Stephen J. Turnbull
 Darryl == Darryl Hamilton [EMAIL PROTECTED] writes:

Darryl I'm wondering if there is a setting in mailman to send
Darryl mail out to members of a list in batches - for example
Darryl send 100, wait 30 seconds, send to the next 100, wait 30
Darryl seconds, and so on.

Darryl This is a cPanel install (and from what I've heard, they
Darryl distribute a custom version of mailman), but they don't
Darryl have any settings I can change. I've seen the Exim tweaks
Darryl and will be looking at implementing them, but I'm not sure
Darryl if it'll be enough.

There's a note in one of the source files, I think it's Runner.py,
something like this is where you could implement things like
throttling.  While cPanel users normally don't have access to the
software installation, your comment about fiddling with Exim suggests
that maybe you do.  Sure, that's more work than you're describing, but
it's a late (or last) resort.

FWIW, I will say that IMO Mailman is very well designed for this kind
of hacking; something like throttling is reasonably complex in itself,
but Mailman won't make it harder than it needs to be.

Another possibility would be a custom processing pipeline, but
implementing it there would basically amount to a busy loop, and use
an excessive amount of resources.

-- 
Institute of Policy and Planning Sciences http://turnbull.sk.tsukuba.ac.jp
University of TsukubaTennodai 1-1-1 Tsukuba 305-8573 JAPAN
   Ask not how you can do free software business;
  ask what your business can do for free software.
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


Re: [Mailman-Users] sending mail to members in batches

2004-12-02 Thread G James Jones
 
 __
 From: Stephen J. Turnbull [EMAIL PROTECTED]
 To: Darryl Hamilton [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: Re: [Mailman-Users] sending mail to members in batches
 Date: Thu, 02 Dec 2004 17:10:23 +0900
 
  Darryl == Darryl Hamilton [EMAIL PROTECTED] writes:
 
 Darryl I'm wondering if there is a setting in mailman to send
 Darryl mail out to members of a list in batches - for example
 Darryl send 100, wait 30 seconds, send to the next 100, wait 30
 Darryl seconds, and so on.

snipped.

 
 FWIW, I will say that IMO Mailman is very well designed for this kind
 of hacking; something like throttling is reasonably complex in itself,
 but Mailman won't make it harder than it needs to be.


With all respect to Stephen, who knows this topic way better than I do,
I have to disagree with this approach.

I would think that throttling is an MTA issue (in this case Exim). 
Given that the MTA will control the rate of ALL messages from the
system, not just those that are generated by Mailman.  

That might not be an issue in this situation, but generally it is true. 
Fixing throttling in Mailman would still potentially leave an admin
open for capacity issues generated by users or other email generation
applications.  However, fixing it in the MTA, the last step before
leaving the box, would mitigate the issue for all email from the system
(Mailman or not).

Just a thought.

Jim


 
 Another possibility would be a custom processing pipeline, but
 implementing it there would basically amount to a busy loop, and use
 an excessive amount of resources.
 
 -- 
 Institute of Policy and Planning Sciences http://turnbull.sk.tsukuba.ac.jp
 University of TsukubaTennodai 1-1-1 Tsukuba 305-8573 JAPAN
Ask not how you can do free software business;
   ask what your business can do for free software.
 
 
 __


-- 
Jim Jones
Systems Analyst
Computer Center
University of Southern Indiana
Phone: (812) 461-5402

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


Re: [Mailman-Users] sending mail to members in batches

2004-12-02 Thread Stephen J. Turnbull
 G == G James Jones [EMAIL PROTECTED] writes:

G I would think that throttling is an MTA issue (in this case
G Exim). Given that the MTA will control the rate of ALL messages
G from the system, not just those that are generated by Mailman.

I agree with your analysis, but that may or may not be the desired
effect here.  In particular, it may be desirable to throttle Mailman
specifically to something lower than the system-wide limit.  The MTA
may or may not be able to limit specific usages (how would it know?) 
or users (in this case, Mailman usually has a unique uid, so that
would work).

BTW, I've been around for some time, am moderately familiar with a
selection of relevant RFCs and other standards, and have bits and
pieces of experience with mail systems in particular, but you
shouldn't take my pronunciamentos too seriously.  I'm just too lazy
(arrogant?) to word them cautiously.  Also, see sections 11 and 12 of
the GNU General Public License.  :-)


-- 
Institute of Policy and Planning Sciences http://turnbull.sk.tsukuba.ac.jp
University of TsukubaTennodai 1-1-1 Tsukuba 305-8573 JAPAN
   Ask not how you can do free software business;
  ask what your business can do for free software.
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


[Mailman-Users] sending mail to members in batches

2004-12-01 Thread Darryl Hamilton
Hi
I'm wondering if there is a setting in mailman to send mail out to
members of a list in batches - for example send 100, wait 30 seconds,
send to the next 100, wait 30 seconds, and so on.
The problem is we've got a list with 1000+ members, but there is a
per-hour outgoing mail limit of 600 (and we'd rather not change it).
This is a cPanel install (and from what I've heard, they distribute a
custom version of mailman), but they don't have any settings I can
change. I've seen the Exim tweaks and will be looking at implementing
them, but I'm not sure if it'll be enough.
I've had a look through all of the archives, and googled until my
fingers bled (ok, not really), and the only thing I've found was a
reference to what I think is another customised version of mailman or
something completely different (it mentioned settings that I can't find
anywhere).
Any help appreciated, and if this is in an FAQ somewhere, then I do
apologise.
Thanks in advance
Darryl
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


Re: [Mailman-Users] sending mail to members in batches

2004-12-01 Thread Brad Knowles
At 11:00 AM +1300 2004-12-02, Darryl Hamilton wrote:
 I'm wondering if there is a setting in mailman to send mail out to
 members of a list in batches - for example send 100, wait 30 seconds,
 send to the next 100, wait 30 seconds, and so on.
	Nope.  See 
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq04.051.htp.

 This is a cPanel install (and from what I've heard, they distribute a
 custom version of mailman), but they don't have any settings I can
 change.
	Well, cPanel is rather problematic.  See 
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq06.011.htp.

 I've had a look through all of the archives, and googled until my
 fingers bled (ok, not really), and the only thing I've found was a
 reference to what I think is another customised version of mailman or
 something completely different (it mentioned settings that I can't find
 anywhere).
	Did you search the FAQ Wizard at 
http://www.python.org/cgi-bin/faqw-mm.py?

	If so, can you tell us what terms you used to search, but failed 
to turn up the entry mentioned above?  If we're not putting the right 
keywords into the description, then we need to fix that.

--
Brad Knowles, [EMAIL PROTECTED]
Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety.
-- Benjamin Franklin (1706-1790), reply of the Pennsylvania
Assembly to the Governor, November 11, 1755
  SAGE member since 1995.  See http://www.sage.org/ for more info.
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/