trusteddomainproject / OpenDMARC

This is the Trusted Domain Project's impementation of the DMARC protocol libary and mail filter, called OpenDMARC. A "milter" connects to unix-based mailers (originally, sendmail, but now many) and provides a standard filtering API.
Other
98 stars 52 forks source link

Ability to log to standard output/error #254

Open schildbach opened 4 months ago

schildbach commented 4 months ago

Currently, opendmarc seems hardcoded to log to /dev/log. This is very problematic for running inside a container, because syslogd won't be available (and can't be run from a user because it needs root).

I think the only thing that's necessary is the ability to log to /dev/stdout as that's where logs are expected by containers.

Optionally, the destination filename could be made configurable.