Update u_and_e.md
Added explanation on how to check mail learned in Redis
This commit is contained in:
parent
6fd13c96d0
commit
2c30b1e6a8
|
@ -282,6 +282,20 @@ Consider attaching a local folder as new volume to `rspamd-mailcow` in `docker-c
|
|||
for file in /data/old_mail/.Junk/cur/*; do rspamc learn_spam < zcat $file; done
|
||||
```
|
||||
|
||||
Other than that if you want to be sure emails are learned as HAM/SPAM you can check directly on Redis using the following commands:
|
||||
|
||||
```
|
||||
docker-compose exec redis-mailcow redis-cli
|
||||
```
|
||||
|
||||
And when the Redis shell's prompt appears, type
|
||||
|
||||
```
|
||||
HGETALL BAYES_HAM
|
||||
```
|
||||
|
||||
to check the emails tagged as HAM. Replace this command with HGETALL BAYES_SPAM for doing the same with SPAM.
|
||||
|
||||
### CLI tools
|
||||
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue