[opendmarc-users] Reporting: can't create report files for domains.

Juri Haberland juri at sapienti-sat.org
Thu Jan 4 00:12:16 PST 2018


Philip wrote:
> I've installed everything nicely and it seems to be working as expected
> other than the reporting stuff.  I've tried changing the permissions but
> not happening... I'm sure it's something simple I've over looked.

> philip at orion:~# su -c "/etc/opendmarc/report-script" -s /bin/bash opendmarc
[...]
> opendmarc-reports: can't create report file for domain (redacted).com
> opendmarc-reports: can't create report file for domain (redacted).co.nz
> opendmarc-reports: can't create report file for domain (redacted).com
> opendmarc-reports: can't create report file for domain (redacted).com
> opendmarc-reports: can't create report file for domain (redacted).com
> opendmarc-reports: can't create report file for domain (redacted).nz

> Any Suggestions that will help make it work appreciated.

Opendmarc-reports creates temporary files in the current directory. It seems
the user opendmarc cannot write to the directory where you are starting the
script. In your script you need to change to a directory where the user
opendmarc has write permissions.

  Juri




More information about the opendmarc-users mailing list