<div dir="ltr">I just set up amavisd 2.9.0 on a CentOS server running postfix 2.6.6. For the most part things appear to be working properly, however I'm having an issue where spams with a bad header are making it through. All the spams in question have headers similar to this:<div>
<br></div><div><pre>X-Quarantine-ID: <ML1NQ4CCLqQY>
X-Virus-Scanned: amavisd-new at <mydomain>
X-Amavis-Alert: BAD HEADER SECTION, Missing required header field: "Date"
X-Spam-Flag: NO
X-Spam-Score: 0
X-Spam-Level:
X-Spam-Status: No, score=x tagged_above=-9999 required=6.2 tests=[]</pre><pre><div style="font-family:arial;white-space:normal">In my amavisd.conf file I have:</div><div style="font-family:arial;white-space:normal"><br></div>
<div style="font-family:arial;white-space:normal">$final_bad_header_destiny = D_BOUNCE;</div><div style="font-family:arial;white-space:normal"><br></div><div style="font-family:arial;white-space:normal">Why are these spams being delivered and not bounced? I must be missing something but I'm not sure what.</div>
<div style="font-family:arial;white-space:normal"><br></div><div style="font-family:arial;white-space:normal">Thanks,</div><div style="font-family:arial;white-space:normal"><br></div><div style="font-family:arial;white-space:normal">
-Bruce</div><div style="font-family:arial;white-space:normal"><br></div><div style="font-family:arial;white-space:normal"><br></div><div style="font-family:arial;white-space:normal"><br></div></pre></div></div>