Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: dev
[Bug 840] New: log_defer_output doesn't work
 

Index | Next | Previous | View Flat


exim-users at lists

Apr 14, 2009, 3:05 AM


Views: 412
Permalink
[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[at]exim.org
ReportedBy: exim-users[at]lists.grepular.com
CC: exim-dev[at]exim.org


"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[at]example.com
<localpart[at]example.com> 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

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##

Subject User Time
[Bug 840] New: log_defer_output doesn't work exim-users at lists Apr 14, 2009, 3:05 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.