Re: [exim] Limit concurrent deliveries

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Heiko Schlittermann
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] Limit concurrent deliveries
Peter Barker <peterb@???> (So 15 Jun 2008 04:38:13 CEST):
> I am running exim4 on a server with very limited resources. and using a local
> pipe transport for spam filtering. Is there any way to limit the number of
> processes run when doing local deliveries. At present a transport process is
> run for every queued message whenever the queue is scanned. I have tried
> queue_run_max = 1
> smtp_accept_queue = 2
> but these do not limit the concurrent transports run.



According to the spec the following should ensure that there a not more
then 5 parallel deliveries at a time, iff your queue runners are started
by the daemon (and not by cron):

    queue_run_max = 5
    remote_max_parallel = 1
    queue_smtp_domains = 1


Especially the queue_smtp_domains is important, otherwise each received
message will be delivered immediatly, even if there are already other
deliveries.


    Best regards from Dresden
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann HS12-RIPE -----------------------------------------
 gnupg encrypted messages are welcome - key ID: 48D0359B ---------------
 gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2  7E92 EE4E AC98 48D0 359B -