Re: [Exim] Why Exim breakes?

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Philip Hazel
Data:  
Para: Lichi Cosmin
CC: exim-users
Asunto: Re: [Exim] Why Exim breakes?
On Tue, 8 Jul 2003, Lichi Cosmin wrote:

> 2003-07-08 02:22:48 SMTP connection from root lost while
> reading message data (header)


Hard to tell, but that message means that Exim was trying to accept a
message, but no data came along for too long.

> 16936 direct command after expansion:
> 16936 argv[0] = /usr/netprotect/bitdef/agents/bdfilter
> 16936 argv[1] = root
> 16936 argv[2] = oconstantin-vm.iavx.ro
> 16936 argv[3] = root@???


That's the filter command, right?

> 16936 bdfilter_transport transport entered
> 16936 direct command:
> 16936 argv[0] = /usr/exim/bin/exim
> 16936 argv[1] = -oMr
> 16936 argv[2] = bdscaned
> 16936 argv[3] = -bS
> 16936 argv[4] = -d
> 16936 argv[5] = 2>/tmp/eximlog1

                    ^^^^^^^^^^^^^^^
                    ^^^^^^^^^^^^^^^
There's one problem. By default, Exim does not run pipe commands under
a shell. The final argument is a shell construct; it won't be
interpreted by Exim. If you want to use a shell, you must either set
use_shell on the pipe transport, or explicitly call /bin/sh and pass the
command using the -c option.


--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book