Only return output from exim when a pipe command fails
authorTom Hughes <tom@compton.nu>
Tue, 27 Jun 2017 19:18:21 +0000 (20:18 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 27 Jun 2017 19:18:21 +0000 (20:18 +0100)
cookbooks/exim/templates/default/exim4.conf.erb

index 555fbbd..530b105 100644 (file)
@@ -721,7 +721,7 @@ noreply:
   command = <%= details[:command] %>
   home_directory = <%= details[:home_directory] %>
   path = <%= details[:path] || "/bin:/usr/bin" %>
-  return_output
+  return_fail_output
 <% else -%>
   driver = appendfile
 <% if details[:file] -%>