Debian Codegraph @

filter-rspamd.8

raw
1 .\" Copyright (C) 2020 Ryan Kavanagh <[email protected]>
2 .\" All rights reserved.
3 .\" Permission to use, copy, modify, and distribute this software for any
4 .\" purpose with or without fee is hereby granted, provided that the above
5 .\" copyright notice and this permission notice appear in all copies.
6 .\"
7 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
10 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
12 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
13 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
14 .Dd April 24, 2020
15 .Dt FILTER-RSPAMD 8
16 .Os
17 .Sh NAME
18 .Nm filter-rspamd
19 .Nd Rspamd filter for OpenSMTPD
20 .Sh SYNOPSIS
21 .Nm filter-rspamd
22 .Op Fl url Ar url
23 .Sh DESCRIPTION
24 The
25 .Nm
26 filter for the OpenSMTPD
27 .Pq Xr smtpd 8
28 server filters sessions through an rspamd daemon.
29 Its options are:
30 .Bl -tag -width url
31 .It Fl url Ar url
32 Connect to the remote rspamd instance located at
33 .Ar url .
34 This flag is optional.
35 If unspecified,
36 .Nm
37 will connect to the rspamd instance located at
38 .Lk http://localhost:11333 .
39 .El
40 .Pp
41 All other rspamd-related configuration, e.g., regarding thresholds or enabled
42 modules, must be done in rspamd itself.
43 .Sh EXIT STATUS
44 .Ex -std
45 .Sh EXAMPLES
46 Adding the following to
47 .Pa smtpd.conf
48 enables
49 .Nm
50 for all incoming connections.
51 In this configuration, the local rspamd daemon is used.
52 .Bd -literal -offset indent
53 filter "rspamd" proc-exec "filter-rspamd"
54
55 listen on all filter "rspamd"
56 .Ed
57 .Pp
58 The following enables
59 .Nm
60 for all incoming connections using a remote rspamd daemon.
61 .Bd -literal -offset indent
62 filter "rspamd" proc-exec "filter-rspamd -url http://example.org:11333"
63
64 listen on all filter "rspamd"
65 .Ed
66 .Sh SEE ALSO
67 .Xr smtpd.conf 5 ,
68 .Xr rspamd 8
69 .Sh AUTHORS
70 .Nm
71 is Copyright \(co 2019
72 .An -nosplit
73 .An Gilles Chehade Aq Mt [email protected] .
74 This man page is Copyright \(co 2020
75 .An Ryan Kavanagh Aq Mt [email protected] .
76 Both are distributed under the ISC license.
77 .Sh BUGS
78 None known.