From nobody Wed May 24 06:22:19 2023 X-Original-To: questions@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 4QR1Lt44cLz4CGt6 for ; Wed, 24 May 2023 06:22:30 +0000 (UTC) (envelope-from lysfjord.daniel@smokepit.net) Received: from smtp-out.smokepit.net (smtp-out.smokepit.net [18.200.56.156]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp-out.smokepit.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QR1Lr393Lz3q5X for ; Wed, 24 May 2023 06:22:28 +0000 (UTC) (envelope-from lysfjord.daniel@smokepit.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=smokepit.net header.s=loke header.b=vqr+vCsQ; spf=pass (mx1.freebsd.org: domain of lysfjord.daniel@smokepit.net designates 18.200.56.156 as permitted sender) smtp.mailfrom=lysfjord.daniel@smokepit.net; dmarc=pass (policy=reject) header.from=smokepit.net DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=smokepit.net; s=loke; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: From:References:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=1MOf7PODgMy4u6fnDwgLoWdZQ10+xtkVoX4yJBncPp8=; b=vqr+vCsQrF/2vRlc8ZJY9EzQES TEbOufc+QdhqtF342NILsA0Hcl92KdWiiu+HwTaoDTMMz7LO1SxIROIteMkcX5jG4o/1hKCENgf04 RosN6JmleRvmsRX501dOzXsnrlnFpefM5LUwKfRb33aavCuKOmS6QFhylH1oj+W+uLCc=; Received: from [84.215.39.232] (helo=smokepit.net) by smtp-out.smokepit.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1q1htA-000RAu-Hu for questions@freebsd.org; Wed, 24 May 2023 06:22:24 +0000 Received: from trd-fw-ext.norbit.com ([213.236.200.10] helo=[10.101.22.129]) by smokepit.net with esmtpsa (TLS1.3) tls TLS_AES_128_GCM_SHA256 (Exim 4.95 (FreeBSD)) (envelope-from ) id 1q1ht8-000FO9-8N for questions@freebsd.org; Wed, 24 May 2023 08:22:23 +0200 Message-ID: <43d77066-6fcc-f25b-6c9a-c45f1d1ce212@smokepit.net> Date: Wed, 24 May 2023 08:22:19 +0200 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: postfix cannot connect to milter-greylist sock To: questions@freebsd.org References: From: Daniel Lysfjord In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Report: Action: no action Symbol: ARC_NA(0.00) Symbol: RCVD_VIA_SMTP_AUTH(0.00) Symbol: BAYES_HAM(-2.99) Symbol: FROM_HAS_DN(0.00) Symbol: TO_MATCH_ENVRCPT_ALL(0.00) Symbol: MIME_GOOD(-0.10) Symbol: TO_DN_NONE(0.00) Symbol: RCPT_COUNT_ONE(0.00) Symbol: RCVD_COUNT_ONE(0.00) Symbol: FROM_EQ_ENVFROM(0.00) Symbol: MIME_TRACE(0.00) Symbol: ASN(0.00) Symbol: RCVD_TLS_ALL(0.00) Symbol: MID_RHS_MATCH_FROM(0.00) Message-ID: 43d77066-6fcc-f25b-6c9a-c45f1d1ce212@smokepit.net X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[smokepit.net,reject]; R_SPF_ALLOW(-0.20)[+ip4:18.200.56.156]; R_DKIM_ALLOW(-0.20)[smokepit.net:s=loke]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:16509, ipnet:18.200.0.0/16, country:US]; DKIM_TRACE(0.00)[smokepit.net:+]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; BLOCKLISTDE_FAIL(0.00)[84.215.39.232:server fail,18.200.56.156:server fail,213.236.200.10:server fail]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4QR1Lr393Lz3q5X X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N Hi, socket is not group writeable. I guess postfix is not running as the mailnull user. Den 2023-05-23 18:45, skrev Paul Procacci: > > > On Tue, May 23, 2023 at 12:33 PM vagabond > wrote: > > postfix doesn't want to connect to milter-greylist.sock: > > maillog: > postfix/smtpd[13700]: warning: connect to Milter service > local:/var/milter-greylist/milter-greylist.sock: Permission denied > > # ls -l /var/milter-greylist/milter-greylist.sock > srwxr-xr-x  1 mailnull  mailnull  0 May 22 16:43 > /var/milter-greylist/milter-greylist.sock > > # grep postfix /etc/group > mail:*:6:postfix > mailnull:*:26:postfix > postfix:*:125: > > I've stopped and restarted the postfix service, thinking it didn't > belong to the mailnull > group for some reason. > > Added postfix to the mailnull group using vigr. > > what am I missing? > Thanks, > > Gary > > > > What are the permissions of each of the directories leading up to the > socket? > > ~Paul > > -- > __________________ > > :(){ :|:& };: