--- README.rpm +++ README.rpm @@ -17,7 +17,7 @@ Configuring sendmail Add these lines to your Sendmail configuration file (usually sendmail.mc): define(`confMILTER_MACROS_ENVFROM', confMILTER_MACROS_ENVFROM`, {verify}')dnl -INPUT_MAIL_FILTER(`smf-sav', `S=unix:/var/run/smfs/smf-sav.sock, T=S:30s;R:4m')dnl +INPUT_MAIL_FILTER(`smf-sav', `S=unix:/run/smfs/smf-sav.sock, T=S:30s;R:4m')dnl If you are using multiple milter mail filters on your mail server, you may have overridden the default values of some of the confMILTER_MACROS_* @@ -41,9 +41,9 @@ define(`confMILTER_MACROS_CONNECT',confM define(`confMILTER_MACROS_ENVFROM',confMILTER_MACROS_ENVFROM`, {verify}')dnl define(`confMILTER_MACROS_ENVRCPT',confMILTER_MACROS_ENVRCPT`, b, r, v, Z, {greylist}')dnl MAIL_FILTER(`milter-regex', `S=unix:/var/spool/milter-regex/sock, F=T, T=C:4m;S:4m;R:8m;E:16m')dnl -MAIL_FILTER(`spamassassin',`S=unix:/var/run/spamass-milter/spamass-milter.sock, F=T, T=C:15m;S:4m;R:4m;E:10m')dnl -MAIL_FILTER(`greylist',`S=unix:/var/run/milter-greylist/milter-greylist.sock, F=T, T=C:4m;S:4m;R:8m;E:16m') -MAIL_FILTER(`smf-sav',`S=unix:/var/run/smfs/smf-sav.sock, T=S:30s;R:4m')dnl +MAIL_FILTER(`spamassassin',`S=unix:/run/spamass-milter/spamass-milter.sock, F=T, T=C:15m;S:4m;R:4m;E:10m')dnl +MAIL_FILTER(`greylist',`S=unix:/run/milter-greylist/milter-greylist.sock, F=T, T=C:4m;S:4m;R:8m;E:16m') +MAIL_FILTER(`smf-sav',`S=unix:/run/smfs/smf-sav.sock, T=S:30s;R:4m')dnl DAEMON_OPTIONS(`Port=smtp, Family=inet, Family=inet6, Name=MTA, InputMailFilters=milter-regex;smf-sav;greylist;spamassassin')dnl Mail is processed through the milters in the order in which they are written in --- readme +++ readme @@ -61,10 +61,10 @@ Look at the contributed samples of start Add these lines to your Sendmail configuration file (usually sendmail.mc): define(`confMILTER_MACROS_HELO', confMILTER_MACROS_HELO`, {verify}')dnl -INPUT_MAIL_FILTER(`smf-sav', `S=unix:/var/run/smfs/smf-sav.sock, T=S:30s;R:4m')dnl +INPUT_MAIL_FILTER(`smf-sav', `S=unix:/run/smfs/smf-sav.sock, T=S:30s;R:4m')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, --- smf-sav.conf +++ smf-sav.conf @@ -118,9 +118,9 @@ ToFailTTL 10h # recipients that did not # Socket used to communicate with a Sendmail daemon # -# Default: unix:/var/run/smfs/smf-sav.sock +# Default: unix:/run/smfs/smf-sav.sock # -Socket unix:/var/run/smfs/smf-sav.sock +Socket unix:/run/smfs/smf-sav.sock # Facility for logging via a Syslog daemon # @@ -178,4 +178,4 @@ SMTPMailer relay # SkipMX 127.0.0.1 -PidFile /var/run/smfs/smf-sav.pid +PidFile /run/smfs/smf-sav.pid