Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

bypass_header_checks_maps based on sender in amavisd-new

190 views
Skip to first unread message

Indunil Jayasooriya

unread,
Jun 21, 2016, 11:20:59 PM6/21/16
to
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( us...@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

Indunil Jayasooriya

unread,
Jun 23, 2016, 2:52:39 AM6/23/16
to


Is anyone out there having an answer to below stuff?
0 new messages