contentfilter:policybanks

Configure the outgoing content filter settings.

warden --task=contentfilter:policybanks
Option
Value Default Description
--mynets_bypass_spam_checks_maps <1|0> 0 Disable the spam filter for this policy bank.
--mynets_bypass_virus_checks_maps <1|0> 0 Disable the virus filter for this policy bank.
--mynets_bypass_banned_checks_maps <1|0> 0 Disable the banned file filter for this policy bank.
--mynets_bypass_header_checks_maps <1|0> 0 Disable the bad header filter for this policy bank.
--mynets_whitelist_sender_maps <string1,string2> Use envelope sender lookups to ensure delivery from whitelisted senders even if the message would be recognized as spam.
--mynets_whitelist_sender_maps_add <string> Add a single entry to mynets_whitelist_sender_maps.
--mynets_whitelist_sender_maps_del <string> Remove a single entry from mynets_whitelist_sender_maps.
--submission_bypass_spam_checks_maps <1|0> 0 Disable the spam filter for this policy bank.
--submission_bypass_virus_checks_maps <1|0> 0 Disable the virus filter for this policy bank.
--submission_bypass_banned_checks_maps <1|0> 0 Disable the banned file filter for this policy bank.
--submission_bypass_header_checks_maps <1|0> 0 Disable the bad header filter for this policy bank.
--submission_whitelist_sender_maps <string1,string2> Use envelope sender lookups to ensure delivery from whitelisted senders even if the message would be recognized as spam.
--submission_whitelist_sender_maps_add <string> Add a single entry to submission_whitelist_sender_maps.
--submission_whitelist_sender_maps_del <string> Remove a single entry from submission_whitelist_sender_maps.
--default <yes> Reset all settings to their default values.
--default_option <option> Reset a specific setting to its default value.
--reload <yes> Reload the service after saving settings.

Examples

// disable the spam filter for the MYNETS policy bank
warden --task=contentfilter:policybanks --mynets_bypass_spam_checks_maps=1 --reload=yes

// reset the spam filter for the MYNETS policy bank back to default
warden --task=contentfilter:policybanks --default_option=mynets_bypass_spam_checks_maps --reload=yes

// reset all settings to defaults
warden --task=contentfilter:policybanks --default=yes --reload=yes