Date: 1 Nov 2024 09:23:09 -0400 From: "John R. Levine" <johnl@iecc.com> To: "Dan Langille" <dan@langille.org>, "RW via freebsd-questions" <freebsd-questions@freebsd.org> Cc: dale@dalescott.net Subject: Re: dma: could not pick up queue file Message-ID: <382f9b53-0d5e-0fd3-5d9f-9d1a8954dd5b@iecc.com> In-Reply-To: <c3f2a459-5d9a-4ddf-acaf-9677bc252c5e@app.fastmail.com> References: <685d00e3-bacb-45cd-a166-40c6a484347e@app.fastmail.com> <22042f18-4cbb-4f62-841b-fef4a7262899@app.fastmail.com> <1c49d4a22aefd22541a526d387912eb3@dalescott.net> <20241031225337.288E8A4F1F81@ary.qy> <c3f2a459-5d9a-4ddf-acaf-9677bc252c5e@app.fastmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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=<root@wikis.[redacted]> > 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=<dan@example.org> queued as 46d60.432a50848050 > Nov 1 03:05:42 wikis dma[46d60.432a50848050][90243]: <dan@example.org> 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]: <dan@example.org> delivery successful > Nov 1 03:46:21 wikis dma[46d47][96425]: new mail from user=root uid=26 envelope_from=<root@wikis.[redacted]> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?382f9b53-0d5e-0fd3-5d9f-9d1a8954dd5b>