<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">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).
<br><br><br><br></pre><br></div><div><br></div><div><br><br><br><br>-- <br><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>