[nzlug] Exim: Limiting outgoing connections on Debian

Craig Box craig at dubculture.co.nz
Thu Oct 5 16:43:05 NZDT 2006


> I'm trying to send a bunch of emails (like 70) with attachments using
> Exim4 on Debian Sarge and am hitting SMTP timeouts. 
> 
> It appears that Exim is opening 70 connections, and trying to deliver
> them all at once.  This is not ideal, as all 70 connections are to
> smtp.ihug.co.nz -- my configured smarthost -- and they timeout before
> managing to finish sending any of them.   
> 
> Anybody know how to limit Exim4 to one connection to my smarthost at
> a time? 

Start by looking at remote_max_parallel.  It seems to be set to only 2 by
default?  It would be odd if Exim was behaving as you speak; I would have
thought, in its default configuration, it would realise they are all to the
same place, and pipeline the delivery.

Craig





More information about the NZLUG mailing list