Skip to Content.
Sympa Menu

en - RE: [sympa-users] Strict, per list, send limit...

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Steve Shipway <address@concealed>
  • To: "address@concealed" <address@concealed>
  • Subject: RE: [sympa-users] Strict, per list, send limit...
  • Date: Thu, 26 Jun 2014 08:56:51 +0000

Unless I misunderstand it, doesn't the nrcpt_by_domain.conf file control the number of recipients per email?  And the postfix 'slow' MTA just limits the rate at which it delivers.  The delivery_time parameter only delays delivery to be within a certain time window.

I think the original poster wanted something to prevent a subscriber from posting more than <X> messages per <time interval> to a given list, or limit a list to no more than <x> messages per <time interval>, as opposed to simply throttling delivery rate?

So, on a per-list per-subscriber basis, refuse posting at a defined threshold, rather than  limit the number of recipients per message or the number of messages delivered per minute.

For what it's worth, just for the fun of it, I've successfully coded up a custom scenario check that provides this functionality, though it requires two lines to be commented out in the Scenario.pm file.  I'll tidy it up a bit and submit it to the dev team as a suggested new feature for 6.2.

Steve


Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
Ph: +64 9 373 7599 ext 86487
 

From: address@concealed [address@concealed] on behalf of David Verdin [address@concealed]
Sent: Thursday, 26 June 2014 7:41 p.m.
To: address@concealed
Subject: Re: [sympa-users] Strict, per list, send limit...

Indeed,

You can also use the "nrcpt_by_domain.conf file. It defined specific limits for some domains. If you fill this file with the following lines:

domain1.tld    3
domain2.tld    25

Then you will have only three users per session for domaine1.tld and 25 per session for domain2.tld.

Th 6.0.1 is rather old now. If you considered upgrading to the 6.1, you could have the delivery_time list parameter. It is not exactly what you want but you could tell ,using this parameter, that a message for a given list will not be sent after the time you define for this parameter.

But the MTA solution will work well, too.

Regards,

David

Le 26/06/14 04:12, Matt Taggart a écrit :
Marco Gaiarin writes:
I'm using sympa 6.0.1 (debian squeeze), and i need to setup, for only some
lists, some ''draconian'' send limit (eg, 50 recipient every 5 minutes).
The list are internal one, and the culprit is that all recipent have the
same domain/destination server, so sending to 600 recipient (even breaked in
50 recipient per smtp session) will hog the destination server.
You might consider doing this in the MTA with a "slow" transport.
For example in postfix look for "slow" in the following docs

  http://www.postfix.org/transport.5.html
  http://www.postfix.org/QSHAPE_README.html


--
A bug in Sympa? Quick! To the bug tracker!
RENATER logo
 
David Verdin
Études et projets applicatifs
 
Tél : +33 2 23 23 69 71
Fax : +33 2 23 23 71 21
 
www.renater.fr
RENATER
263 Avenue du Gal Leclerc
35042 Rennes Cedex






Archive powered by MHonArc 2.6.19+.

Top of Page