Fix dnssec indication variable when used from smtp:commect event
[exim.git] / src / src / exiqgrep.src
index 94b17f58bbcf2b999591167178446727f06f4a43..afecbffeec250e8183f2eaed80cecf0957fa1fa5 100644 (file)
@@ -46,7 +46,7 @@ if ($^O eq 'darwin') { # aka MacOS X
 getopts('hf:r:y:o:s:C:zxlibRca',\%opt);
 if ($opt{h}) { &help; exit;}
 if ($opt{a}) { $eargs = '-bp'; }
-if ($opt{C}) { $eargs .= ' -C '.$opt{C}; }
+if ($opt{C} && -e $opt{C} && -f $opt{C} && -R $opt{C}) { $eargs .= ' -C '.$opt{C}; }
 
 # Read message queue output into hash
 &collect();