<div dir="ltr"><div><br><br></div>Is anyone out there having an answer to below stuff?<br><br><div><div><div><div class="gmail_quote"><br><br><div dir="ltr"><div>Hi list, <br><br></div><div>I have below settings in amavisd.conf</div><div><br><br>$final_bad_header_destiny = D_DISCARD;<br><br>$bad_header_quarantine_to = 'bad-header-quarantine';<br><br><br>@whitelist_sender_maps = read_hash("$MYHOME/white.lst");<br><br><br></div><div>the above whitelist_sender_maps bypasses spam checks BASED ON senders.<br></div><div><br></div><div>how to bypass header_checks_maps based on senders? <br><br></div><div>Let's say I want to BYPASS header_checks for  all mails coming from <a href="http://trusteddoamin.com" target="_blank">trusteddoamin.com</a> <br><br><br></div><div>How can I achieve this? <br><br>not enough docs in internet regarding this subject.<br><br><br></div><div>the below lines are based on recipients . <br><br><br><pre>@bypass_header_checks_maps = ( [qw( <a href="mailto:user@example.com" target="_blank">user@example.com</a> )] );

You can also use read_hash like this:

@bypass_header_checks_maps = (
   read_hash("/var/amavis/badheader"),
);

Then insert your recipient email adresses in this file (line by line).
<span class="HOEnZb"><font color="#888888"><br><br><br><br></font></span></pre><span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div><br></div><div><br><br><br><br>-- <br><br><br><div data-smartmail="gmail_signature"><div dir="ltr">cat /etc/motd<br><br>Thank you<br>Indunil Jayasooriya <br><a href="http://www.theravadanet.net/" target="_blank">http://www.theravadanet.net/</a><br><a href="http://www.siyabas.lk/sinhala_how_to_install.html" target="_blank">http://www.siyabas.lk/sinhala_how_to_install.html</a>   -  Download Sinhala Fonts<br><br></div></div>
</div></font></span></div>
</div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">cat /etc/motd<br><br>Thank you<br>Indunil Jayasooriya <br><a href="http://www.theravadanet.net/" target="_blank">http://www.theravadanet.net/</a><br><a href="http://www.siyabas.lk/sinhala_how_to_install.html" target="_blank">http://www.siyabas.lk/sinhala_how_to_install.html</a>   -  Download Sinhala Fonts<br><br></div></div>
</div></div></div></div>