diff -ru smf-spf-2.5.1/readme smf-spf-2.5.1.new/readme --- smf-spf-2.5.1/readme 2020-11-12 22:44:54.000000000 +0100 +++ smf-spf-2.5.1.new/readme 2020-11-19 17:35:32.945247285 +0100 @@ -46,10 +46,10 @@ Add these lines to your Sendmail configuration file (usually sendmail.mc): define(`confMILTER_MACROS_HELO', confMILTER_MACROS_HELO`, {verify}')dnl -INPUT_MAIL_FILTER(`smf-spf', `S=unix:/var/run/smfs/smf-spf.sock, T=S:30s;R:1m')dnl +INPUT_MAIL_FILTER(`smf-spf', `S=unix:/run/smfs/smf-spf.sock, T=S:30s;R:1m')dnl -IMPORTANT: make sure that /var/run is not a group writable directory! If so, -or chmod 755 /var/run, or if it's impossible switch to another directory. +IMPORTANT: make sure that /run is not a group writable directory! If so, +or chmod 755 /run, or if it's impossible switch to another directory. IMPORTANT: make sure that libmilter is compiled with BROKEN_PTHREAD_SLEEP defined. If this symbol is not defined, libmilter will use sleep() in signal-handler thread, @@ -132,4 +132,4 @@ http://sourceforge.net/projects/smfs/ http://kurmanin.info/ - \ No newline at end of file + diff -ru smf-spf-2.5.1/smf-spf.c smf-spf-2.5.1.new/smf-spf.c --- smf-spf-2.5.1/smf-spf.c 2020-11-12 22:44:54.000000000 +0100 +++ smf-spf-2.5.1.new/smf-spf.c 2020-11-19 17:36:31.805731849 +0100 @@ -45,7 +45,7 @@ #include "spf2/spf.h" #define CONFIG_FILE "/etc/mail/smfs/smf-spf.conf" -#define WORK_SPACE "/var/run/smfs" +#define WORK_SPACE "/run/smfs" #define OCONN "unix:" WORK_SPACE "/smf-spf.sock" #define USER "smfs" #define TAG_STRING "[SPF:fail]" diff -ru smf-spf-2.5.1/smf-spf.conf smf-spf-2.5.1.new/smf-spf.conf --- smf-spf-2.5.1/smf-spf.conf 2020-11-12 22:44:54.000000000 +0100 +++ smf-spf-2.5.1.new/smf-spf.conf 2020-11-19 17:36:51.519224300 +0100 @@ -178,7 +179,7 @@ # # Default: unix:/var/run/smfs/smf-spf.sock # -#Socket unix:/var/run/smfs/smf-spf.sock +#Socket unix:/run/smfs/smf-spf.sock # Facility for logging via Syslog daemon # none will disable syslog.