Fwd: bypass_header_checks_maps based on sender in amavisd-new

Indunil Jayasooriya indunil75 at gmail.com
Thu Jun 23 04:59:03 CEST 2016


Is anyone out there having an answer to below stuff?



Hi list,

I have below settings in amavisd.conf


$final_bad_header_destiny = D_DISCARD;

$bad_header_quarantine_to = 'bad-header-quarantine';


@whitelist_sender_maps = read_hash("$MYHOME/white.lst");


the above whitelist_sender_maps bypasses spam checks BASED ON senders.

how to bypass header_checks_maps based on senders?

Let's say I want to BYPASS header_checks for  all mails coming from
trusteddoamin.com


How can I achieve this?

not enough docs in internet regarding this subject.


the below lines are based on recipients .


@bypass_header_checks_maps = ( [qw( user at example.com )] );

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).









-- 


cat /etc/motd

Thank you
Indunil Jayasooriya
http://www.theravadanet.net/
http://www.siyabas.lk/sinhala_how_to_install.html   -  Download Sinhala
Fonts




-- 
cat /etc/motd

Thank you
Indunil Jayasooriya
http://www.theravadanet.net/
http://www.siyabas.lk/sinhala_how_to_install.html   -  Download Sinhala
Fonts
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.amavis.org/pipermail/amavis-users/attachments/20160623/9f2cd7b4/attachment.html>


More information about the amavis-users mailing list