| @@ -5,15 +5,17 @@ | | | @@ -5,15 +5,17 @@ |
5 | To use the rspamd filter, you must declare it first in your OpenSMTPD | | 5 | To use the rspamd filter, you must declare it first in your OpenSMTPD |
6 | configuration. | | 6 | configuration. |
7 | | | 7 | |
8 | Edit the @PKG_SYSCONFDIR@/smtpd/smtpd.conf file to declare the filter: | | 8 | Edit the @PKG_SYSCONFDIR@/smtpd/smtpd.conf file to declare the filter: |
9 | | | 9 | |
10 | filter "rspamd" \ | | 10 | filter "rspamd" \ |
11 | proc-exec "@PREFIX@/libexec/opensmtpd/filter-rspamd" | | 11 | proc-exec "@PREFIX@/libexec/opensmtpd/filter-rspamd" |
12 | | | 12 | |
13 | Then add the filter to each listener that should be filtered: | | 13 | Then add the filter to each listener that should be filtered: |
14 | | | 14 | |
15 | listen on socket filter "rspamd" | | 15 | listen on socket filter "rspamd" |
16 | listen on $ipv4 [...] filter "rspamd" | | 16 | listen on $ipv4 [...] filter "rspamd" |
17 | | | 17 | |
| | | 18 | See filer-rspamd(8) man page. |
| | | 19 | |
18 | The filter itself doesn't have a configuration and depends upon | | 20 | The filter itself doesn't have a configuration and depends upon |
19 | the Rspamd daemon configuration. | | 21 | the Rspamd daemon configuration. |