Re: [Exim] Exim hangs during BSMTP input

Góra strony
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Dla: Ralf G. R. Bergs
CC: exim-users ML
Temat: Re: [Exim] Exim hangs during BSMTP input
On Sun, 2 Feb 2003, Ralf G. R. Bergs wrote:

> Without having had a look at Exim's source code from my observations it seems
> that there aren't any provisions in the source for a timeout between messages
> in BSMTP. Shouldn't there be a (configurable) timeout that forces closure of
> the session after a certain time has run out without a further message having
> been received? Can you (Phil?) confirm this?


smtp_receive_timeout applies to BSMTP as well as to other forms of SMTP.
I have just tested this.

> forked delivery process 32453
> Process 32406 is ready for new message
> smtp_setup_msg entered
>
> At this point the Exim process seems to stall.


The default for smtp_receive_timeout is 5 minutes. You can change it
with -os on the command line.

> It's not very easy to debug this kind of problem since you can easily become
> confused with debugging output from the different Exim processes.


Add -pid to your -d options (from Exim 4.11).


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