[exim] log_defer_output, bug?

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Mike Cardwell
Fecha:  
A: exim-users
Asunto: [exim] log_defer_output, bug?
Hi,

Can someone please confirm that log_defer_output as per
http://www.exim.org/exim-html-current/doc/html/spec_html/ch29.html
actually works?

I have a transport like this:

test_pipe:
    driver      = pipe
    user        = Debian-exim
    group       = mail
    temp_errors = *
    command     = /etc/exim4/test.pl
    log_defer_output = true


I made test.pl print some output and then exit with a status code of 5.
In my log I get something like this:

2009-04-13 12:47:34 1LtKdS-0001k5-1u == localpart@???
<localpart@???> R=test_router T=test_pipe defer (0): Child
process of test_pipe transport returned 5 from command: /etc/exim4/test.pl

In the manual it states for log_defer_output:

"If this option is set, and the status returned by the command is one of
the codes listed in temp_errors (that is, delivery was deferred), and
any output was produced, the first line of it is written to the main log."

Yet I don't see the text that I printed out from the script, in the
mainlog ...?

--
Mike Cardwell
(https://secure.grepular.com/) (http://perlcv.com/)