Re: [exim] Throttle sending rates?

Página Inicial
Delete this message
Reply to this message
Autor: Rich Lott - Artful Robot
Data:  
Para: exim-users
Assunto: Re: [exim] Throttle sending rates?
Hi Jeremy,

Ah right, I could so that.

So I'd have

 1. An ACL (rcpt?) identifies outbound email for Micro$oft mail and sets
    queue = annoying
 2. Emails in these queues won't be touched by exim; no further
    processing happens.
 3. Cron job or such does something like one of these two:
     1. ls -1 -t /var/spool/exim4 |tail 50 | while read f ; do exim -M
        $(extract_job_id "$f") l done
     2. ls -1 -t /var/spool/exim4 |tail 50 | while read f ; do mv "$f"
        /var/spool/exim4/input/. ;done


?

Thanks,

Rich



On 29/10/2018 11:50, Jeremy Harris via Exim-users wrote:
> On 29/10/2018 11:29, Rich Lott - Artful Robot via Exim-users wrote:
>> I couldn't -for example- find any examples of how to move 0-/N/
>> messages from one queue to the main queue.
> Given there's no queue-runner for this alternate queue, there's
> nothing looking there - so no locking issues. Just move the files.
>
> Alternately, tell exim to run one (at a time) message ID from the
> named alternate queue. (but that's harder scripting, as you have
> to pull the ID out of the filename).