1 ec30f085 2019-08-22 martijn .\" $OpenBSD$
3 ec30f085 2019-08-22 martijn .\" Copyright (c) 2019 Martijn van Duren <martijn@openbsd.org>
5 ec30f085 2019-08-22 martijn .\" Permission to use, copy, modify, and distribute this software for any
6 ec30f085 2019-08-22 martijn .\" purpose with or without fee is hereby granted, provided that the above
7 ec30f085 2019-08-22 martijn .\" copyright notice and this permission notice appear in all copies.
9 ec30f085 2019-08-22 martijn .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 ec30f085 2019-08-22 martijn .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 ec30f085 2019-08-22 martijn .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 ec30f085 2019-08-22 martijn .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 ec30f085 2019-08-22 martijn .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 ec30f085 2019-08-22 martijn .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 ec30f085 2019-08-22 martijn .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 ec30f085 2019-08-22 martijn .Dd $Mdocdate$
18 ec30f085 2019-08-22 martijn .Dt FILTER-DNSBL 8
21 ec30f085 2019-08-22 martijn .Nm filter-dnsbl
22 ec30f085 2019-08-22 martijn .Nd block senders based on dnsbl
23 ec30f085 2019-08-22 martijn .Sh SYNOPSIS
25 ec30f085 2019-08-22 martijn .Op Fl mv
26 ec30f085 2019-08-22 martijn .Ar blacklist
28 ec30f085 2019-08-22 martijn .Sh DESCRIPTION
30 2c7be909 2019-08-23 martijn looks up the IP address of the sender at the
31 ec30f085 2019-08-22 martijn .Ar blacklist
32 2c7be909 2019-08-23 martijn .Pq a domain name
33 ec30f085 2019-08-22 martijn and by default drops the connection if it is found.
36 ec30f085 2019-08-22 martijn flag is specified it will allow the message to continue, but it will be marked
37 ec30f085 2019-08-22 martijn with an X-Spam and X-Spam-DNSBL header.
38 ec30f085 2019-08-22 martijn For more verbose logging the
40 ec30f085 2019-08-22 martijn flag can be used.
42 1aa52bf5 2021-10-27 martijn Lists matching the IP address are echoed back to the sender.
43 1aa52bf5 2021-10-27 martijn Paid services from Abusix and Spamhaus have their key stripped.
44 ec30f085 2019-08-22 martijn .Sh SEE ALSO
45 ec30f085 2019-08-22 martijn .Xr smtpd 8