commit - 49c924beb6f1137b9865752bbfa7b519aedd4807
commit + ec30f0856c8fa28ea5e201c31d52317ae4e229e5
blob - 0f4c09a9e75ac42285cecd8c8bee6b30d485c74c
blob + e72a9e4e30a5b065cf2177ce1f9dddf7114eba3d
--- Makefile
+++ Makefile
# $OpenBSD: Makefile,v 1.1 2018/04/26 13:57:13 eric Exp $
PROG= filter-dnsbl
+MAN= filter-dnsbl.8
BINDIR= /usr/libexec/smtpd/
SRCS+= main.c
blob - b479597b2a95f36dc54db4dad877f53a6de69df7 (mode 644)
blob + /dev/null
--- filter-dnsbl.1
+++ /dev/null
-.\" $OpenBSD$
-.\"
-.\" Copyright (c) 2019 Martijn van Duren <martijn@openbsd.org>
-.\"
-.\" Permission to use, copy, modify, and distribute this software for any
-.\" purpose with or without fee is hereby granted, provided that the above
-.\" copyright notice and this permission notice appear in all copies.
-.\"
-.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\"
-.Dd $Mdocdate$
-.Dt FILTER-DNSBL 8
-.Os
-.Sh NAME
-.Nm filter-dnsbl
-.Nd block senders based on dnsbl
-.Sh SYNOPSIS
-.Nm
-.Op Fl mv
-.Ar blacklist
-.Op Ar ...
-.Sh DESCRIPTION
-.Nm
-looks up the ip-address of the sender at the
-.Ar blacklist
-and by default drops the connection if it is found.
-If the
-.Fl m
-flag is specified it will allow the message to continue, but it will be marked
-with an X-Spam and X-Spam-DNSBL header.
-For more verbose logging the
-.Fl v
-flag can be used.
-.Sh SEE ALSO
-.Xr smtpd 8
blob - /dev/null
blob + b479597b2a95f36dc54db4dad877f53a6de69df7 (mode 644)
--- /dev/null
+++ filter-dnsbl.8
+.\" $OpenBSD$
+.\"
+.\" Copyright (c) 2019 Martijn van Duren <martijn@openbsd.org>
+.\"
+.\" Permission to use, copy, modify, and distribute this software for any
+.\" purpose with or without fee is hereby granted, provided that the above
+.\" copyright notice and this permission notice appear in all copies.
+.\"
+.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+.\"
+.Dd $Mdocdate$
+.Dt FILTER-DNSBL 8
+.Os
+.Sh NAME
+.Nm filter-dnsbl
+.Nd block senders based on dnsbl
+.Sh SYNOPSIS
+.Nm
+.Op Fl mv
+.Ar blacklist
+.Op Ar ...
+.Sh DESCRIPTION
+.Nm
+looks up the ip-address of the sender at the
+.Ar blacklist
+and by default drops the connection if it is found.
+If the
+.Fl m
+flag is specified it will allow the message to continue, but it will be marked
+with an X-Spam and X-Spam-DNSBL header.
+For more verbose logging the
+.Fl v
+flag can be used.
+.Sh SEE ALSO
+.Xr smtpd 8