On 03.06.20 13:04, Egoitz Aurrekoetxea wrote:
I have a mail scanning machine which I want to deliver clean message
through lmtp over tcp to another ip. In that other ip, imagine I have 500
mailboxes and 50 domains.
How could I manage for fastly delivering a message to mailboxes without
having to be delivering recipient to recipient.
I mean. Imagine I have 10 messages in the queue and 5 of them have 100
recipients to be delivered to. If I set :
lmtp_destination_concurrency_limit = 100
lmtp_destination_recipient_limit = 100 (>1 so... the destination is a
domain)
here you can have 100 parallel deliveries to the same machine, and one
delivery can go to multiple recipients.
So, with 10 messages they all can get delivered in parallel.
I could have the situation in which 10 lmtp processes to be delivering mail
to a same mailbox.... how could I avoid it?.. I assume doing :
lmtp_destination_concurrency_limit = 100
lmtp_destination_recipient_limit = 1
are you still talking about delivery to scanning machine on other IP?
In such case, one message with 100 recipients would be delivered 100 times,
once per each recipient.
But now, this queue would be far more slower to be dispatched.
guess why...
I just wanted Postfix to have the intelligence of just delivering one
message at the same time to a mailbox.... is that possible? without
suffering from a slow delivering queue?.
mailbox deliveries are usually done through local(8) and you need to set up
local_destination_concurrency_limit (number of local deliveries) and
local_destination_recipient_limit (bnumber of deliveries to the same
mailbox.
if you use LMTP to deliver to mailboxes, you can define different delivery
transport that will have different settings than deliveries to scanning
machines.
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"Where do you want to go to die?" [Microsoft]