rate_delay and concurrency_limit

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

rate_delay and concurrency_limit

natan
Hi
I thinking about destination_rate_delay and
destination_concurrency_limit. I read documentations and I don't known
how this really works

example:

default in postfix is:
default_destination_concurrency_limit=20
- This means that postfix will up to two concurrent connections per
receiving domains.
default_destination_rate_delay =0
- Postfix will add a delay between each message to the same receiving
domain.

I change for this:
default_destination_concurrency_limit = 10
default_destination_rate_delay = 1s

Some users send e-mail from: [hidden email] to [hidden email]
(emails employees)
(I have one server to outgoing and One server to incomming e-mail -
total many many domains and e-mails)

Normal mailq (before changing) is ~500
After changing mailq up to 5K (most email is for this same domain -
default_destination_concurrency_limit)

example
Oct 29 10:57:31 smtp1 postfix/smtps/smtpd[32557]: 4CMLTR1TRGz5wNQ:
client=public-gprs401074.centertel.pl[37.47.197.243], sasl_method=LOGIN,
sasl_username=[hidden email]
Oct 29 10:57:31 smtp1 postfix/cleanup[42103]: 4CMLTR1TRGz5wNQ:
message-id=<026a01d6add9$e9d5f4f0$bd81ded0$@[hidden email]>
Oct 29 10:57:31 smtp1 postfix/qmgr[1377]: 4CMLTR1TRGz5wNQ:
from=<[hidden email]>, size=62937, nrcpt=1 (queue active)
Oct 29 11:34:35 smtp1 postfix/qmgr[47280]: 4CMLTR1TRGz5wNQ:
from=<[hidden email]>, size=62937, nrcpt=1 (queue active)
Oct 29 11:36:11 smtp1 postfix/qmgr[1403]: 4CMLTR1TRGz5wNQ:
from=<[hidden email]>, size=62937, nrcpt=1 (queue active)
Oct 29 11:37:05 smtp1 postfix/qmgr[3334]: 4CMLTR1TRGz5wNQ:
from=<[hidden email]>, size=62937, nrcpt=1 (queue active)
Oct 29 11:54:50 smtp1 postfix/smtp1/smtp[3925]: 4CMLTR1TRGz5wNQ:
to=<[hidden email]>, relay=mx.domain1.ltd[xxx.xxx.xxx.xxx]:25,
delay=3440, delays=2375/1035/30/0.03, dsn=2.0.0, status=sent (250 ok
1603968890 qp 8669 by mx1.dmain1.ltd)
Oct 29 11:54:50 smtp1 postfix/qmgr[3334]: 4CMLTR1TRGz5wNQ: removed

Why Postfix doesn't send 1sc email upon entering qmgr and push to mx:
Postfix push to mx after 1h ....
I thought that in this configuration, postfix will send every 1s to the
same domain like:
10:57:31 in --> 10:57:32 --> out
But I can see these emails were fighting for time resources....


Why is it doing - because I want to slow down traffic to *
.outlook.protect.com somehow
Because when I change the IP to a new one, outlook.protect.com limits
them and only after 5-6 hours returns to normal ....



--