[opendmarc-users] opendmarc-reports: can't create report file for domain
Juri Haberland
juri at sapienti-sat.org
Wed Apr 18 10:02:37 PDT 2018
On 18.04.2018 12:33, Jonathan Sélea wrote:
> Hi,
> I recently started getting alot of this error. I suspect that this has
> something to do with permissions.
>
> In earlier opendmarc version, I could specify a "Temporary Directory" in
> opendmarc.conf with following:
>
> TemporaryDirectory /var/tmp
Are you sure that this option was parsed by opendmarc-reports at any time
in the past? Looking through some old versions I can't find any hint that
the behaviour of the reports script was changed in this respect.
> Solutions? :)
Opendmarc-reports creates temporary files in the current directory. It
seems the user which is used to run opendmarc-reports cannot write to the
directory where you are starting the script. In your Cron script you need
to change to a directory where the user has write permissions, e.g. the
same place where the history file is written, or one of the temporary
directories.
Juri
More information about the opendmarc-users
mailing list