ports/mail/smfsav-devel/files/patch-readme
Danilo G. Baio 004fd3218c New port: mail/smfsav-devel
mail/smfsav -> mail/smfsav-devel

This is a fork of smf-sav which was originally written by Eugene Kurmanin.
It is a "reloaded" version with heavy bugfixes maintained by Gabriele
Maria Plutzar.

WWW: http://smf-sav.anw.at/

PR:		216669
Submitted by:	Kan Sasaki <sasaki@fcc.ad.jp>
2017-08-26 01:18:16 +00:00

25 lines
1 KiB
Text

--- readme.orig 2012-04-08 16:07:48 UTC
+++ readme
@@ -50,18 +50,18 @@ Under FreeBSD the BIND v8 is required (p
make
make install
- Inspect and edit the /etc/mail/smfs/smf-sav.conf file.
+ Inspect and edit the %%PREFIX%%/etc/smf-sav.conf file.
-/usr/local/sbin/smf-sav
+%%PREFIX%%/sbin/smf-sav
or
-/usr/local/sbin/smf-sav -c /etc/mail/smfs/smf-sav.conf
+%%PREFIX%%/sbin/smf-sav -c %%PREFIX%%/etc/smf-sav.conf
Add this milter to start-up scripts before starting a Sendmail daemon.
Look at the contributed samples of start-up scripts.
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:%%SMFSAV_RUN_DIR%%/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.