---
title: 'antispam:ruleupdates'
url: 'https://docs.danami.com/warden/command-line-interface/antispam/antispam-ruleupdates'
markdown: 'https://docs.danami.com/warden/command-line-interface/antispam/antispam-ruleupdates.md'
date: '2026-10-07'
description: 'Configure the spam filter rule update settings. warden --task=antispam:ruleupdates Option Value Default Description --update_interval <disabled|daily|weekly|monthly> daily How often to check for anti-spam rule updates using the sa-update command. --update_hour 3 The h…'
taxonomy:
  category:
    - docs
  tag:
    - sa-update
---

[](#)  [ Basics ](https://docs.danami.com/warden/)     [ Command Line Interface ](https://docs.danami.com/warden/command-line-interface)      Antispam       antispam:ruleupdates    

# antispam:ruleupdates

Configure the spam filter rule update settings.

```
warden --task=antispam:ruleupdates
```

| Option | Value | Default | Description |
|---|---|---|---|
| `--update_interval` | <disabled\|daily\|weekly\|monthly> | daily | How often to check for anti-spam rule updates using the sa-update command. |
| `--update_hour` |  | 3 | The hour of day to check for anti-spam rule updates. |
| `--update_day` |  | 0 | The day to check for anti-spam rule updates (weekly scans). |
| `--kam` | <1\|0> | 1 | Enable or disable the KAM channel. |
| `--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 KAM channel
warden --task=antispam:ruleupdates --kam=0 --reload=yes

// reset the kam channel back to its default value
warden --task=antispam:ruleupdates --default_option=kam --reload=yes

// reset all settings to their default values
warden --task=antispam:ruleupdates --default=yes --reload=yes

// check for rule updates weekly on Monday at 04:00 and keep the KAM channel enabled
warden --task=antispam:ruleupdates --update_interval=weekly --update_day=1 --update_hour=4 --kam=1 --reload=yes
```

## Related Pages

- [Rule Updates](https://docs.danami.com/warden/settings/antispam/rule-updates "Rule Updates")

 [](https://docs.danami.com/warden/settings/antispam/rule-updates)

---

## Navigation

- Previous: [antispam:rules:rulescores](https://docs.danami.com/warden/command-line-interface/antispam/antispam-rules-rulescores.md)
- Next: [antispam:train](https://docs.danami.com/warden/command-line-interface/antispam/antispam-train.md)
