From owner-freebsd-questions@freebsd.org Sun Aug 7 18:12:33 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 14422BB15D8 for ; Sun, 7 Aug 2016 18:12:33 +0000 (UTC) (envelope-from me@niklaas.eu) Received: from mx.box-hlm-01.niklaas.eu (mx.box-hlm-01.niklaas.eu [IPv6:2a02:2770:15:0:21a:4aff:fe1b:d1ad]) by mx1.freebsd.org (Postfix) with ESMTP id D8AD11AA9 for ; Sun, 7 Aug 2016 18:12:32 +0000 (UTC) (envelope-from me@niklaas.eu) Received: from len-t420.klaas (unknown [IPv6:2a02:908:d722:7b00:224:d7ff:feec:38e0]) by mx.box-hlm-01.niklaas.eu (Postfix) with ESMTPSA id D66FD2C356A for ; Sun, 7 Aug 2016 20:12:31 +0200 (CEST) Date: Sun, 7 Aug 2016 20:12:30 +0200 From: Niklaas Baudet von Gersdorff To: freebsd-questions@freebsd.org Subject: Re: Need advice for setting up mail server Message-ID: <20160807181230.GD12411@len-t420.klaas> Reply-To: stdin@niklaas.eu Mail-Followup-To: freebsd-questions@freebsd.org References: <2394887a809b4ad8e702d1d13bb1337c@mail.zplay.eu> <20160807180149.GC12411@len-t420.klaas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160807180149.GC12411@len-t420.klaas> User-Agent: Mutt/1.6.0 (2016-04-01) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Aug 2016 18:12:33 -0000 Niklaas Baudet von Gersdorff [2016-08-07 20:01 +0200] : > What I can highly recommend is mail/spamd. I learned about it in > the FreeBSD Handbook. However, documentation there seems a bit > old so it's not longer correct. Spamd offers greylisting too but, > as mentioned above, there are reasons not to enable that. > However, you can also run it in blocking mode solely. This way it > collects updated entries on malicious hosts that you can pipe to > PF and block with your firewall. Very resource-friendly. Read > spamd(8) for how to configure it properly (and don't trust the > handbook on it). I forgot to mention postscreen(8). For its functionality see http://www.postfix.org/POSTSCREEN_README.html I just learned about it some weeks ago, so I haven't tested it yet. Anyway, I guess it's a cleverer and less resource hungry solution than other anti-spam tool. Niklaas