[exim-dev] [Bug 840] New: log_defer_output doesn't work

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Mike Cardwell
Date:  
À: exim-dev
Nouveaux-sujets: [exim-dev] [Bug 840] log_defer_output doesn't work, [exim-dev] [Bug 840] log_defer_output doesn't work, [exim-dev] [Bug 840] log_defer_output doesn't work, [exim-dev] [Bug 840] log_defer_output doesn't work
Sujet: [exim-dev] [Bug 840] New: log_defer_output doesn't work
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=840
           Summary: log_defer_output doesn't work
           Product: Exim
           Version: 4.69
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Transports
        AssignedTo: nigel@???
        ReportedBy: exim-users@???
                CC: exim-dev@???



"log_defer_output" doesn't appear to work as advertised.

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 ...? I tried printing to STDERR as well as STDOUT and it made no
difference.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email