Author: Evgeniy Berdnikov Date: To: exim-users Subject: Re: [exim] Time to force delay between message
On Wed, Jul 22, 2020 at 08:58:49AM +0530, deepaksharma559--- via Exim-users wrote: > Is it possible to force a time delay. For example my email account user @
> domain.com is sending 3-4 emails to the same receipient in 1 second. Is
> there a setting in exim to insert a delay by ex: 10 seconds.
AFAIK exim has no built-in tools for that, but you can use some external
serializer in transport for outgoing mails:
This script should check some time stamp from previous ivocation
(in database or in file, etc) and sleep necessary time before return.
With proper locks and (if need ) granularity on sender/recipients.
Note that such delay causes an exim instance to wait, consuming memory,
so it opens additional vector for DoS attack.
> Actually I want to insert a delay between each message that goes out any
> remote destination.
Apply common timer for all sender/recipients.
--
Eugene Berdnikov