Discussion:
bypass_header_checks_maps based on sender in amavisd-new
(too old to reply)
Indunil Jayasooriya
2016-06-22 03:14:45 UTC
Permalink
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( ***@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
2016-06-23 02:59:03 UTC
Permalink
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( ***@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
Loading...