diff --git a/plugins/clamd.js b/plugins/clamd.js index 6a735ce11..e892b9f19 100644 --- a/plugins/clamd.js +++ b/plugins/clamd.js @@ -269,6 +269,7 @@ exports.hook_data_post = function (next, connection) { if (virus && plugin.rejectRE && // enabled plugin.allRE.test(virus) && // has a reject option !plugin.rejectRE.test(virus)) { // reject=false set + txn.add_header('X-Haraka-Virus', virus); return next(); } if (!plugin.cfg.reject.virus) { return next(); }