Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Aug 2021 16:12:50 -0400
From:      Dan Langille <dan@langille.org>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: dma: could not open flush file: Permission denied
Message-ID:  <e67add70-9ee1-c595-9d5a-482047e44816@langille.org>
In-Reply-To: <6746c30a-53c7-7e84-3840-d2ff692af4a5@langille.org>
References:  <6746c30a-53c7-7e84-3840-d2ff692af4a5@langille.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Dan Langille wrote on 8/8/21 10:54 AM:
> 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
>
> [dan@stage-nginx01:~] $ cat /etc/dma/dma.conf
> SMARTHOST cliff.int.unixathome.org
> SECURETRANSFER
> STARTTLS
>
> [dan@stage-nginx01:~] $ cat /etc/mail/mailer.conf
> sendmail      /usr/libexec/dma
> mailq         /usr/libexec/dma
> newaliases    /usr/libexec/dma
> rmail         /usr/libexec/dma
>
> [dan@stage-nginx01:~] $ grep mail /etc/rc.conf
> sendmail_enable="NO"
> sendmail_submit_enable="NO"
> sendmail_outbound_enable="NO"
> sendmail_msp_queue_enable="NO"

It seems this is sufficient to stop that message:

daily_queuerun_enable="NO"

Thank you.

-- 
Dan Langille
dan@langille.org : https://langille.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e67add70-9ee1-c595-9d5a-482047e44816>