The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 2,952 other followers

Archive for April 11th, 2022

Some links on rate-limiting Postfix

Posted by jpluimers on 2022/04/11

For my link archive:


The crux seems to be a combination of these parameters to do outgoing rate-limiting, for instance with these values:

default_destination_concurrency_limit = 30
default_destination_rate_delay = 5s

Here default_destination_concurrency_limit needs to be larger than one (so mails are grouped by domain) in order for the default_destination_rate_delay to have any effect at all.

You can even extend this to named transports as per [Wayback] Postfix Users – Create Custom Mail Queue answered by [Wayback] Ralf Hildebrandt

> Can I create custom mail queue in /var/spool/postfix to hold the mails for
> specific destination and schedule to deliver one by one for period of time,
> let’s say 2 mins.

That’s not needed. Create a custom transport for the destination.
Then use
<nameofcustomtransport>_destination_rate_delay = 120s


In the below bullets from the Postfix documentation, emphasis is mine.

  • [Wayback] Postfix Configuration Parameters:
    • [Wayback] Postfix Configuration Parameters: default_destination_concurrency_limit

      default_destination_concurrency_limit (default: 20)

      The default maximal number of parallel deliveries to the same destination. This is the default limit for delivery via the lmtp(8)pipe(8)smtp(8) and virtual(8) delivery agents. With per-destination recipient limit > 1, a destination is a domain, otherwise it is a recipient.

      Use transport_destination_concurrency_limit to specify a transport-specific override, where transport is the name of the message delivery transport.

    • [Wayback] Postfix Configuration Parameters: default_destination_rate_delay

      default_destination_rate_delay (default: 0s)

      The default amount of delay that is inserted between individual message deliveries to the same destination and over the same message delivery transport. Specify a non-zero value to rate-limit those message deliveries to at most one per $default_destination_rate_delay.

      The resulting behavior depends on the value of the corresponding per-destination recipient limit.

      • With a corresponding per-destination recipient limit > 1, the rate delay specifies the time between deliveries to the same domain. Different domains are delivered in parallel, subject to the process limits specified in
      • With a corresponding per-destination recipient limit equal to 1, the rate delay specifies the time between deliveries to the same recipient. Different recipients are delivered in parallel, subject to the process limits specified in

      To enable the delay, specify a non-zero time value (an integral value plus an optional one-letter suffix that specifies the time unit).

      Time units: s (seconds), m (minutes), h (hours), d (days), w (weeks). The default time unit is s (seconds).

      NOTE: the delay is enforced by the queue manager. The delay timer state does not survive “postfix reload” or “postfix stop“.

      Use transport_destination_rate_delay to specify a transport-specific override, where transport is the name of the message delivery transport.

      NOTE: with a non-zero _destination_rate_delay, specify a transport_destination_concurrency_failed_cohort_limit of 10 or more to prevent Postfix from deferring all mail for the same destination after only one connection or handshake error.

      This feature is available in Postfix 2.5 and later.

    • [Wayback] Postfix Configuration Parameters: default_process_limit

      default_process_limit (default: 100)

      The default maximal number of Postfix child processes that provide a given service. This limit can be overruled for specific services in the file.

  • [Wayback] Postfix manual – master(5): (where Process limit is the 7th parameter on a configuration line)

           Process limit (default: $default_process_limit)
                  The maximum number of processes that may  execute  this  service
                  simultaneously. Specify 0 for no process count limit.
                  NOTE:  Some  Postfix  services  must  be  configured  as  a sin-
                  gle-process service (for example,  qmgr(8))  and  some  services
                  must   be   configured  with  no  process  limit  (for  example,
                  cleanup(8)).  These limits must not be changed.




Posted in *nix, *nix-tools, postfix, Power User | Leave a Comment »

Terugkijken: publiekslezing Kwaliteit van Leven

Posted by jpluimers on 2022/04/11

Een paar weken geleden was de [Wayback/Archive] Terugkijken: publiekslezing Kwaliteit van Leven.

Aan die afdeling heb ik momenteel veel, want ik zit in een flink dal na mijn (voorlopig succesvolle) behandelingen tegen uitgezaaide endeldarmkanker. Ik ben schoon, maar het hoofd is vol (ook met alle andere dingen die er sinds 2017 in ons leven gebeurd zijn) en ook fysiek is het enorm wennen aan een lichaam dat zich heel anders gedraagt dan voor ik kanker kreeg.

[Wayback/Archive] Publiekslezing Kwaliteit van Leven 15 maart 2022 – YouTube

Steeds meer mensen overleven kanker of leven langer met kanker. Tijdens en na de behandeling kunnen patiënten te maken krijgen met verschillende lichamelijke en psychosociale problemen. Daarom staan in ons Centrum voor Kwaliteit van Leven gespecialiseerde professionals klaar om patiënten en hun naasten te helpen bij problemen op lichamelijk, psychisch, sociaal en spiritueel gebied. Om deze patiënten in de toekomst nog beter te kunnen ondersteunen, doet het Antoni van Leeuwenhoek ook wetenschappelijk onderzoek in dit centrum. Tijdens deze online publiekslezing praten wij u bij over wat wij doen in het Antoni van Leeuwenhoek op het gebied van Kwaliteit van Leven.

Via [Wayback/Archive] Antoni v Leeuwenhoek on Twitter: “Wat doen wij in het Antoni van Leeuwenhoek op het gebied van kwaliteit van leven? Diverse specialisten van het AVL en Stichting ‘Ziek Gelukkig’ kwamen tijdens onze publiekslezing aan het woord. Bekijk de lezing terug ➡️… #hetAVL #publiekslezing #ziekgelukkig”

Ook [Wayback/Archive] Stichting Ziek Gelukkig (@ZiekGelukkig) / Twitter kwam aan bod.


Read the rest of this entry »

Posted in About, Awareness, Cancer, Health, LifeHacker, Personal, Power User | Leave a Comment »

%d bloggers like this: