---
title: 'contentfilter:policybanks'
url: 'https://docs.danami.com/warden/command-line-interface/contentfilter/contentfilter-policybanks'
markdown: 'https://docs.danami.com/warden/command-line-interface/contentfilter/contentfilter-policybanks.md'
date: '2026-10-07'
description: '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 …'
taxonomy:
  category:
    - docs
  tag:
    - amavis
    - policy
---

[](#)  [ Basics ](https://docs.danami.com/warden/)     [ Command Line Interface ](https://docs.danami.com/warden/command-line-interface)      Contentfilter       contentfilter:policybanks    

# 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

// let the newsletter sender pass the submission policy bank even if it scores as spam
warden --task=contentfilter:policybanks --submission_whitelist_sender_maps_add='newsletter@example.com' --reload=yes
```

## Related Pages

- [Policy Banks](https://docs.danami.com/warden/settings/contentfilter/policy-banks "Policy Banks")
- [Policy Settings](https://docs.danami.com/warden/settings/contentfilter/policy-settings "Policy Settings")
- [Policy Migrator](https://docs.danami.com/warden/settings/contentfilter/policy-migrator "Policy Migrator")
- [Filter Settings](https://docs.danami.com/warden/settings/contentfilter/filter-settings "Filter Settings")
- [Scanner Settings](https://docs.danami.com/warden/settings/contentfilter/scanner-settings "Scanner Settings")

 [ ](https://docs.danami.com/warden/command-line-interface/contentfilter/contentfilter-policy) [](https://docs.danami.com/warden/settings/contentfilter/policy-settings)

---

## Navigation

- Previous: [contentfilter:policy](https://docs.danami.com/warden/command-line-interface/contentfilter/contentfilter-policy.md)
- Next: [contentfilter:scanner](https://docs.danami.com/warden/command-line-interface/contentfilter/contentfilter-scanner.md)
