On 2017.08.23. 15:28, Wietse Venema wrote:
> Deniss:
>> Hello,
>>
>> I looking for a way to speed up delivery for specified sender's domain
>> when incoming queue is overloaded.
> 
> When the road to the airport is clogged, everyone has to wait.

> Yes, using a different queue is like building a different road.
> Then, one road will hopefully not be congested.
> 


well, I want fast lane for certain domain indeed.

I looking for a way to implement this with no dedicated postfix instance.
I feel there is a way with restriction classes + dedicated qmgr or smtp
service(s)

let me explain my setup:
I have postfix as frontend to absorb incoming messages as fast as possible.
Then I have slow smtp backend.
Postfix limits delivery to backend with
smtp_destination_concurrency_limit = 2
This works pretty fine allowing to not oveload backend on peaks -
messages become queued at frontend and delivered with some delay to backend.

But now I want to deliver certain domain with no delay.

Is it possible to catch the sender's domain with restriction classes of
postfix and pass a message to dedicated smtp process where
smtp_destination_concurrency_limit is not limited ?

May be there is way to force qmgr to select messages from the domain in
first place when it takes messages from queue for delivery ?


Best,
Deniss

Reply via email to