You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I glanced the code, then it seems opendkim does not create statistics file, but fopen with "a" (append) in dkimf_stats_record() in opendkim/stats.c. Also it reports on failure by using syslog if loging is enabled. Isn't there any error log?
Restarting via system only produces one line on the log: 2024-05-15T12:15:14.865994+02:00 servername opendkim[3413459]: OpenDKIM Filter v2.11.0 starting (args: -x /etc/opendkim/opendkim.conf)
Executing the same instruction via strace, doesn't report any reference, good or bad, to the stats file: strace -f /usr/sbin/opendkim -x /etc/opendkim/opendkim.conf
OpenDKIM 2.11.0~beta2-8 Debian package has these compile options:
which generate this binary:
Stats looks available, but setting on the configuration file
/etc/opendkim/opendkim.conf
:Statistics /var/lib/opendkim/stats.dat
Doesn't produce any stats file. Looking into the fd open by the opendkim worker process, doesn't report it on the list:
The text was updated successfully, but these errors were encountered: