Added cron regarding sa-learn
This commit is contained in:
parent
9149f5afa7
commit
968f957d0f
|
@ -42,6 +42,15 @@ Please use `STARTTLS`.
|
||||||
### How can I manage my custom Spamassassin rules?
|
### How can I manage my custom Spamassassin rules?
|
||||||
Antispam rules are managed in `config/spamassassin-rules.cf`.
|
Antispam rules are managed in `config/spamassassin-rules.cf`.
|
||||||
|
|
||||||
|
### How can I make Spamassassin learn spam?
|
||||||
|
|
||||||
|
Put received spams in `.Junk/` imap folder and add a cron like the fllowing:
|
||||||
|
|
||||||
|
```
|
||||||
|
# Everyday 2:00AM, learn spam for this specific user
|
||||||
|
0 2 * * * docker exec mail sa-learn --spam /var/mail/domain.com/username/.Junk
|
||||||
|
```
|
||||||
|
|
||||||
### What kind of SSL certificates can I use?
|
### What kind of SSL certificates can I use?
|
||||||
You can use the same certificates you use with another mail server.
|
You can use the same certificates you use with another mail server.
|
||||||
The only thing is that we provide a `self-signed` certificate tool and a `letsencrypt` certificate loader.
|
The only thing is that we provide a `self-signed` certificate tool and a `letsencrypt` certificate loader.
|
||||||
|
|
Loading…
Reference in New Issue