Matus UHLAR - fantomas:
I use amavisd-new as content filter on a few mailservers.
main.cf:

content_filter=amavisfeed:[127.0.0.1]:10024

master.cf:
amavisfeed      unix    -       -       n       -       5       lmtp

servers have different number of CPUs and I'd like to avoid overloading them
with too many mails being checked in parallel.

I can limit those by configuring "maxproc" in master.cf or

On 02.05.19 10:00, Wietse Venema wrote:
This is enforced by master(8), unbeknownst to the queue manager,
It a general safety mechanism to keep Postfix from blowing up.

amavisfeed_destination_concurrency_limit in main.cf.

This is enforced by the queue manager. It won't try to schedule
deliveries beyond this limit, so this might 'work' more as designed,
but I doubt that anyone would notice the difference.

I will set maxproc to 4 and amavisfeed_destination_concurrency_limit
according to CPU count (not over 4 yet)

if I didn't set amavisfeed_destination_concurrency_limit, the queue manager
would try connect to amavisfeed up to default_destination_concurrency_limit
(20) times, until it failed, so effectively it should work the same, correct?

now I should limit number of parallel milter connections (amavis too, but
external MTAs on port 25)

--
Matus UHLAR - fantomas, [email protected] ; 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.
Spam is for losers who can't get business any other way.

Reply via email to