dma: could not open flush file: Permission denied
Dan Langille
dan at langille.org
Tue Aug 17 15:41:09 UTC 2021
tech-lists wrote on 8/17/21 9:50 AM:
> 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:
>> Permission 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?
From base.
>
> 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
I don't have that.
>
> % less /etc/periodic.conf
>
> daily_status_include_submit_mailq="NO"
> daily_clean_hoststat_enable="NO"
> daily_queuerun_enable="NO"
> daily_submit_queuerun="NO"
> daily_status_mail_rejects_enable="NO"
I have added the above to one host (test-ingress01) for comparison.
>
> % 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
I do not have the send-mail, hoststat, & purgestat entries. I bet those
last two are relevant.
I have added those two entries to another host (test-nginx01), removing
the 'local' directory, because I am using base, not ports.
Thank you. I'll report back tomorrow.
--
Dan Langille
dan at langille.org : https://langille.org/
More information about the freebsd-questions
mailing list