From nobody Tue Jan 24 19:31:03 2023 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P1cXG4fVFz3bJd0 for ; Tue, 24 Jan 2023 19:31:10 +0000 (UTC) (envelope-from otis@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P1cXG3jHHz3rCS; Tue, 24 Jan 2023 19:31:10 +0000 (UTC) (envelope-from otis@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674588670; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ghXbzQQioQ/1Gz/j9poF/mZ6frNG7Cj6PPwW5PlG7ng=; b=POflBePzV6zXsgUnSRyNVmsa4iGxbN9mzGlCbenLEk0OKHPBrkndIffkTs5MpDpOcCS9Bu KRlYfYQI2YGLJ2z8ZLpwuyMNbmCqdHgLR9n/s4LbhmU52lQ3XxWbDgwSML5OJTsgEOqgw9 xU+6pRoRIaVslKuvttYYxzQuTzFuIhT7eAK/yyiis3FRM1VP7KNfAh5QKsabL+X8js66jM ocqJWwKsl3uxhMdRAlGj56fLgTfbJ5DxluQjHEMVeBjl9/9ATGpFY/mCccjx7fXzzcGT+R VIZi6XBRxDdVID2q17cjQQkUIxhjMAVvxXd+SU8fzKJDjoH2cF+JnvtB6FhHLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674588670; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ghXbzQQioQ/1Gz/j9poF/mZ6frNG7Cj6PPwW5PlG7ng=; b=Z8JcJzD9tYeVWR/GiqgwRFT/85XAz76u6KdnAsj+e0H89yqGnqOKUr6NMSVI2o0hLhfQ4x PAFVgMWHL7erUlrgGGuhB+DhD6UN7Tsc1ef8+qLX6W0HelOPl2wqdZKJf41AW53qf/QkCd BwDFhUWoXa7AY3yjV1W2A1HewEp6ii7XTSCRHs+CKJd0dgROlqrbQ0FC+FTW1yGMR7kUwa 7nfLRhisX9qW0YkWryylvwIjXvcD1JGWmCPuJp2n6xoZxHd0NhNw7mknUGQRlIkZc9baV0 57voK3i9SB3ksLasYEygjSx+oF0PuAD2ZqiMcLQmCmGdeGtIZvDvby4Fd1T6kg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674588670; a=rsa-sha256; cv=none; b=PS0ku9wX1MT+4lP//ecNR84JMZ/NXDupD+CTCJggyeKNaaHL22dojqRcT/zF+E3ElE0biA JzIyGC6yBNiOl/9bSwFCQw8cdsjNy2p6pO0rEJ3IMHKXU/tpLc4RRED07fdBE+rz+C0AAt Tn7885cqVH4caVdu5DDPsxrxOKl4LXlfaoLjDqrhiZSqhiA7nvD9mHvhjdJGBEnkTO5DKw uxZpDPPAi8Ih4lPXh8LozuSH9kN7q4U4fvpi9ybV1JDlEfQ9LMlBXW9kfw7TVtN+gfTldc E4caCKiZXER7coz5AMUeKbP6dzDd1vIlu/Lc/Xlv7Az2UWEpZuYrsR495RPRvw== Received: from ns2.wilbury.net (ns2.wilbury.net [IPv6:2a01:b200:0:1:f816:3eff:fecd:13e6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "svc.wilbury.net", Issuer "R3" (verified OK)) (Authenticated sender: otis) by smtp.freebsd.org (Postfix) with ESMTPSA id 4P1cXG1zPgzpqQ; Tue, 24 Jan 2023 19:31:10 +0000 (UTC) (envelope-from otis@FreeBSD.org) Received: from smtpclient.apple (gw-upc.owhome.net [188.167.168.254]) (Authenticated sender: juraj@lutter.sk) by svc.wilbury.net (Postfix) with ESMTPSA id 406F245CF95; Tue, 24 Jan 2023 20:31:04 +0100 (CET) Content-Type: text/plain; charset=utf-8 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: Re: postfix' blacklistd patch From: Juraj Lutter In-Reply-To: <4EC5136F-0692-460C-85B8-BA3BF5FA728E@ellael.org> Date: Tue, 24 Jan 2023 20:31:03 +0100 Cc: freeBSD ports Content-Transfer-Encoding: quoted-printable Message-Id: <40BAFF53-D547-4059-AE88-E5E8A5F0EF2B@FreeBSD.org> References: <4EC5136F-0692-460C-85B8-BA3BF5FA728E@ellael.org> To: Michael Grimm X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,KHOP_HELO_FCRDNS, SPF_HELO_NONE,SPF_SOFTFAIL autolearn=no autolearn_force=no version=4.0.0 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on ns2.wilbury.net X-ThisMailContainsUnwantedMimeParts: N > On 16 Jan 2023, at 16:49, Michael Grimm wrote: >=20 > Hi, >=20 > I wonder if the following condition for triggering blacklistd is = appropriate: >=20 >=20 > /* notify blacklistd of SASL authentication failure */ > pfilter_notify(1, vstream_fileno(state->client)); > return (-1); > } >=20 > If I am not mistaken blacklistd will become notified even after a = 'Temporary authentication failure'.=20 >=20 > Has this been intended? Yes, because even an temporary failure could be a result of a =E2=80=9Cbru= te force attack=E2=80=9D. =E2=80=94 Juraj Lutter otis@FreeBSD.org