Re: [Exim] Timeout during SMTP session

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: Tom Samplonius
CC: Smith, A.D., exim-users
Assumpte: Re: [Exim] Timeout during SMTP session
On Thu, 11 Jan 2001, Tom Samplonius wrote:

> On Thu, 11 Jan 2001, Smith, A.D. wrote:
>
> > Is it possible to set the timout on the first delivery attempt to a
> > different value to that of subsequent delivery attempts (for those of us who
> > wish to speed up queues)?
>
> I assume you are talking about deliveries to the same host? If so, that
> is already done via the retry database. In fact, if the retry database
> indicates that e-mail to a domain has recently failed, it won't even try
> subsequent deliveries until the retry hold period has passed.


Alternatively, the poster might have been talking about the SMTP
timeouts for connecting to a remote host. The default values are around
5 minutes.

You could implement this by having two different smtp transports, with
different timeout values. Then use a setting such as

transport = ${if first_delivery{smtp_one}{smtp_two}}

to switch between them. Or possibly use the queue_running condition
instead of first_delivery.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.