From: sthen Date: Mon, 10 Jul 2017 15:42:46 +0000 (+0000) Subject: Switch sample path for black/whitelist files from /var/mail (which is meant to X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c177a94fa8e54fe3f098f16abb7888c3674e08d5;p=openbsd Switch sample path for black/whitelist files from /var/mail (which is meant to be for mailboxes) to /etc/mail. Fritjof Bornebusch reported that security(8) complains about files in /var/mail and suggested a subdirectory, but /etc seems a better idea all-round, and matches hier(7). ok jmc@ --- diff --git a/share/man/man5/spamd.conf.5 b/share/man/man5/spamd.conf.5 index 8074d43fbfb..ecb32f8f03f 100644 --- a/share/man/man5/spamd.conf.5 +++ b/share/man/man5/spamd.conf.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: spamd.conf.5,v 1.19 2017/03/16 15:09:32 jmc Exp $ +.\" $OpenBSD: spamd.conf.5,v 1.20 2017/07/10 15:42:46 sthen Exp $ .\" .\" Copyright (c) 2003 Jason L. Wright (jason@thought.net) .\" Copyright (c) 2003 Bob Beck @@ -24,7 +24,7 @@ .\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: March 16 2017 $ +.Dd $Mdocdate: July 10 2017 $ .Dt SPAMD.CONF 5 .Os .Sh NAME @@ -65,13 +65,13 @@ nixspam:\e override:\e :white:\e :method=file:\e - :file=/var/mail/override.txt: + :file=/etc/mail/override.txt: myblack:\e :black:\e - :msg=/var/mail/myblackmsg.txt:\e + :msg=/etc/mail/myblackmsg.txt:\e :method=file:\e - :file=/var/mail/myblack.txt: + :file=/etc/mail/myblack.txt: .Ed .Pp The default configuration file must include the entry