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: Giorgio Donnini <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] Strict, per list, send limit...
  • Date: Thu, 26 Jun 2014 15:11:45 +0200

You can prevent Sympa from using cached scenario by passing to the
custom Scenario a parameter that is never the same, for example
msg_header->Date or msg-header-> Message-id

Giorgio

Giorgio Donnini
Università degli studi di Milano

On 26/06/14 07:40, Steve Shipway wrote:
>> There should be a way to achieve this by creating a custom scenario plugin
>> for the send scenario, that records messages and returns a fail if the
> rate
>> is too high. It would need to have a table in the database for
>> subscriber/list/count/interval.
> After further investigation, it seems this is not possible after all.
>
> Custom scenario outcomes are cached by Sympa for one hour, so a custom
> scenario that mutates in this way is impossible :(.
>
> It would be good if the CustomCondition scenario object allowed a 'no
> caching' option, but that would require modifying the Scenario.pm modules.
>
> Steve
>
> Steve Shipway
> address@concealed
>
>


****************
Il 5 x mille alla nostra Università è un investimento sui giovani,
sui loro migliori progetti.

Sostiene la libera ricerca.
Alimenta le loro speranze nel futuro.

Investi il tuo 5 x mille sui giovani.

Università degli Studi di Milano
codice fiscale 80012650158

http://www.unimi.it/13084.htm?utm_source=firmaMail&utm_medium=email&utm_content=linkFirmaEmail&utm_campaign=5xmille




Archive powered by MHonArc 2.6.19+.

Top of Page