From nobody Fri Nov 01 13:23:09 2024 X-Original-To: freebsd-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 4Xg1l40KY1z5bFJj for ; Fri, 01 Nov 2024 13:23:12 +0000 (UTC) (envelope-from johnl@iecc.com) Received: from gal.iecc.com (gal.iecc.com [IPv6:2001:470:1f07:1126:0:43:6f73:7461]) (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 "gal.iecc.com", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xg1l35LQZz4Ry5 for ; Fri, 1 Nov 2024 13:23:11 +0000 (UTC) (envelope-from johnl@iecc.com) Authentication-Results: mx1.freebsd.org; none Received: (qmail 87052 invoked from network); 1 Nov 2024 13:23:10 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=iecc.com; h=date:message-id:from:to:cc:subject:in-reply-to:references:mime-version:content-type; s=154076724d63e.k2411; t=1730467380; x=1730812980; bh=Afj3JEUTZTF3zcmwCIzg9pPaGAQ9riVYZxXZtSoFzi4=; b=fWnZ0XKTTvHZlu9C6adufi/uLiYp4aykNqrgJIdL7T2r/osqxWepYoABg1X1eTMZfdSvq0iZWh0ynTAiPRnJpcX8QhxUHJCD71nh+pSn4p3BpakKr18bvoZM9Oj6uvLOR6YxX7hSWvxP6Lv8BoTPRupHONG0qFZJfONPIB0hW1l5Ec1rZwgFOlrRrvhY318Yxy3WZOgLSISc1FtUpj2Q/SEpD/8Pq4cpxSPVmvqqD42jmtazJyw42P1bthqexMmAyhLaKBL5JFjEH4cBzorIN0Uwi2Bzfc4HVdgxP/qVb0kHCZaHBxx7d2T/ett3E9rfMSLALSrdnT79QWmPtH5yFg== Received: from ary.qy ([IPv6:2001:470:1f07:1126::78:696d:6170]) by imap.iecc.com ([IPv6:2001:470:1f07:1126::78:696d:6170]) with ESMTPS (TLS1.3 ECDHE-RSA CHACHA20-POLY1305 AEAD) via TCP6; 01 Nov 2024 13:23:10 -0000 Received: by ary.qy (Postfix, from userid 501) id E8A89A5202BE; Fri, 1 Nov 2024 09:23:09 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by ary.qy (Postfix) with ESMTP id 4F7C7A5202A0; Fri, 1 Nov 2024 09:23:09 -0400 (EDT) Date: 1 Nov 2024 09:23:09 -0400 Message-ID: <382f9b53-0d5e-0fd3-5d9f-9d1a8954dd5b@iecc.com> From: "John R. Levine" To: "Dan Langille" , "RW via freebsd-questions" Cc: dale@dalescott.net X-X-Sender: johnl@ary.qy Subject: Re: dma: could not pick up queue file In-Reply-To: References: <685d00e3-bacb-45cd-a166-40c6a484347e@app.fastmail.com> <22042f18-4cbb-4f62-841b-fef4a7262899@app.fastmail.com> <1c49d4a22aefd22541a526d387912eb3@dalescott.net> <20241031225337.288E8A4F1F81@ary.qy> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=us-ascii X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US] X-Rspamd-Queue-Id: 4Xg1l35LQZz4Ry5 X-Spamd-Bar: ---- On Fri, 1 Nov 2024, Dan Langille wrote: > This event occurred today. These logs are slightly amended to obscure host names and email and IP addresses. > > Nov 1 00:00:10 wikis newsyslog[46335]: logfile turned over > Nov 1 03:05:42 wikis dma[46d60][90243]: new mail from user=root uid=26 envelope_from= > Nov 1 03:05:42 wikis dma[dma][90258]: could not pick up queue file: `/var/spool/dma/Q46d60.432a50848050'/`/var/spool/dma/M46d60.432a50848050': No such file or directory > Nov 1 03:05:42 wikis dma[46d60][90243]: mail to= queued as 46d60.432a50848050 > Nov 1 03:05:42 wikis dma[46d60.432a50848050][90243]: trying delivery > Nov 1 03:05:42 wikis dma[46d60.432a50848050][90269]: using smarthost (tallboy.[redacted]:25) > Nov 1 03:05:42 wikis dma[46d60.432a50848050][90269]: trying remote delivery to tallboy.[redacted] [10.0.0.1] pref 0 > Nov 1 03:05:42 wikis dma[46d60.432a50848050][90269]: delivery successful > Nov 1 03:46:21 wikis dma[46d47][96425]: new mail from user=root uid=26 envelope_from= Look again. The failure was PID 90258 which I assume is the daemon, not 90243 which is the program sending the message. This suggests it is indeed a harmless race condition. In my experience, the initial delivery always succeeds and it never queues, so running the queue daemon once a day just in case should be plenty. Regards, John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies", Please consider the environment before reading this e-mail. https://jl.ly