11 lines
568 B
Text
11 lines
568 B
Text
--- amavisd-snmp-subagent-zmq.orig Fri Jul 11 10:03:13 2014
|
|
+++ amavisd-snmp-subagent-zmq Fri Jul 11 10:10:01 2014
|
|
@@ -1123,7 +1123,7 @@ my $keep_running = 1;
|
|
if (!defined $mta_queue_dir) { # test for access to Postfix queue directory
|
|
local($ENV{PATH}) = '/usr/sbin:/usr/local/sbin:/opt/postfix/sbin';
|
|
$! = 0;
|
|
- $mta_queue_dir = qx(postconf -h queue_directory);
|
|
+ $mta_queue_dir = qx(postconf -h queue_directory 2>&1);
|
|
if (!defined $mta_queue_dir) {
|
|
if ($! != 0) {
|
|
do_log(1, "no postfix (unable to run postconf command): $!");
|