From owner-freebsd-questions@freebsd.org Tue Aug 17 13:51:09 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2DDCC664D23 for ; Tue, 17 Aug 2021 13:51:09 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4GpsrD2Vxbz4pCl for ; Tue, 17 Aug 2021 13:51:08 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id AA0DF5C0187 for ; Tue, 17 Aug 2021 09:50:57 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 17 Aug 2021 09:50:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=q5O/BAnP5k/IvWmK209osUjfclX Q1TG5oLWqtNnnYSs=; b=CYactYtMO+8ejbegPQCY1kn6MlrCREUHvdBeJh2s8Gl OdS4q37ieAn1715yDIJsdFI0aBvBQolm6D+4bjX9ZzAUtWI1HXMB1zMuX2a7OPgC W3HkpJWgCtYGvwYdoQSOS4h7kjJVTKUjYG+SZgy37A3po6uivpU9vfgJa4BZjxVg Ab7cNGcQTfWrF6nSua+AZxot/61cCG/o/oXkSOvy5d6Mf4yQtKcQ7YRwEVam/TQ2 EZGUV47ll0Ebiv4nYYtmeiK5TLIsFVg3e8fTBDpMpeGCWADvJAl0IRQWrJxWcwWa tvoO19QY2A94jPJ8Ydb8XzrLdUZyQ5Ue92NztR8RxcQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=q5O/BA nP5k/IvWmK209osUjfclXQ1TG5oLWqtNnnYSs=; b=t1Gjx8pA0fcaX32VsYkxmR n9UVJbA9Xf7sHV+27tUSZRYKrSYCena1Swj9ZvNNmi/otR7wDpRm/ygRK0JqxV4W kOtuIUC02xB2G4kqfi9si8YPPJMI9UwdwA6zxGLg7rZKC4g42ZwarGr1Itiemk2E +UBMkgNyDimJTK6XOgfOjwLohVmQ9CU5o7LzyRIL/KuAht/NPZOZ30ABomeQlXZy RTejhQ5aGJYD27Xk8K1Thi6ARxe5SDtNsn/+u1bPI8oc05A8djdS5JQs1w9/whvq AtX/Gw+gOUQ0yEfl/bTL6rbaykxlnuibTlFTTR9FFOUCd27QDsRgOvXkXiZCURMg == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrleefgdejtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehgtderre dttddvnecuhfhrohhmpehtvggthhdqlhhishhtshcuoehtvggthhdqlhhishhtshesiiih gihsthdrnhgvtheqnecuggftrfgrthhtvghrnheptdehiefgvddufeekkedvtdefvdettd dtkeduvdegveelffdtkeffudejvdfhudetnecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomhepthgvtghhqdhlihhsthhsseiihiigshhtrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Tue, 17 Aug 2021 09:50:53 -0400 (EDT) Date: Tue, 17 Aug 2021 14:50:51 +0100 From: tech-lists To: freebsd-questions@freebsd.org Subject: Re: dma: could not open flush file: Permission denied Message-ID: Mail-Followup-To: freebsd-questions@freebsd.org References: <6746c30a-53c7-7e84-3840-d2ff692af4a5@langille.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="uoTFp38VYRc2oMM8" Content-Disposition: inline In-Reply-To: <6746c30a-53c7-7e84-3840-d2ff692af4a5@langille.org> X-Rspamd-Queue-Id: 4GpsrD2Vxbz4pCl X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm3 header.b=CYactYtM; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=t1Gjx8pA; dmarc=none; spf=none (mx1.freebsd.org: domain of tech-lists@zyxst.net has no SPF policy when checking 66.111.4.29) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-6.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:66.111.0.0/20, country:US]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.29:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm3,messagingengine.com:s=fm3]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[zyxst.net]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[66.111.4.29:from]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2021 13:51:09 -0000 --uoTFp38VYRc2oMM8 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Sun, Aug 08, 2021 at 10:54:32AM -0400, Dan Langille wrote: >I recently switched from postfix to dma on some servers which don't need >incoming smtp. On 4 of those 6 servers, I'm seeing this nightly: Aug 7 >03:02:15 stage-nginx01 dma[dma][79633]: could not open flush file: Permis= sion denied > >I can't see a difference between the hosts. But I'm sure it's something in= periodic daily >Thank you which dma do you use - the one in base or the one in ports? version info: % pkg info dma dma-0.13.20210614,1 Name : dma Version : 0.13.20210614,1 Installed on : Thu Jul 1 04:19:51 2021 BST Origin : mail/dma Architecture : FreeBSD:13:amd64 I *think* the one in base is v0.11 I have this in /etc/crontab : */5 * * * * root /usr/local/libexec/dma -q % less /etc/periodic.conf daily_status_include_submit_mailq=3D"NO" daily_clean_hoststat_enable=3D"NO" daily_queuerun_enable=3D"NO" daily_submit_queuerun=3D"NO" daily_status_mail_rejects_enable=3D"NO" % less /etc/mail/mailer.conf sendmail /usr/local/libexec/dma send-mail /usr/local/libexec/dma mailq /usr/local/libexec/dma newaliases /usr/local/libexec/dma hoststat /usr/local/libexec/dma purgestat /usr/local/libexec/dma --=20 J. --uoTFp38VYRc2oMM8 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAmEbvq8ACgkQs8o7QhFz NAXPAxAAo9lAlfW97hxsXKMndmanviv5+6upX4SOvppIR4kttLVvb6f9CF2IP0w3 379mGJ2LyqRUV2aatJO9UVG75QpwBD6DlJWs1zwY6MhNOdkXCWFgrb2d2oEBZNfu FzyOiEvVMM0SA6M5vkaEB8jeWOW6hKE+6PGh0StY1rPFdDD0mFJmf0LNX593zXvJ +ID6XmC/DdwTfNjMO4NjUuydjBhVBHGcP/Czr+vP/Cy2yy/A0Dp2BsJs3cLYjeaT XpN/NHyaEy7CZT/xaZw/B0kakS/yM5xTVAAGhNwdhlttkbk0S82mJwE3SadDbrqA /n21I6/2PE6NbPBiB+3HJdixe3l9VJngQF6ZNvpDQJzC+4sej56/9v9cW+gSf4Pd zNBEsw/pXbye6ozjJ88QWIA46vvLxfL20TMyTXSUlSLkTzlLNtpZ22nyLrPrrrsv aHfTZzFbOKSTcDoTe+7um78nFf+9jfcJ8UC/ZqgtFs5h9Rl5Q9bcC2IuDl136T0H AqfSbaAWRTpg05+g6Ndrcd0CRVGovGa9z1S2gbB2ginMiL1u7ObEXXgpsaAMirsG XhbIPvHump+lmcseqLFWqa7ww6x1+CSWKS1qg4qfO+PAvpOHSGlAi3+cF8hKXk4B AMftTVIHPdSUSgRQOU8bnhhHeHVdVDEya6GRmjkm60z50vut9ZA= =qlNv -----END PGP SIGNATURE----- --uoTFp38VYRc2oMM8--