summaryrefslogtreecommitdiff
path: root/mail/smfsav/files/patch-readme
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-05-31 14:16:19 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-05-31 14:16:19 +0000
commit5fe3c7426c323921e155cf65bcf378019ee1255a (patch)
treefcf171063e920724185a8543392bdcb788a5136a /mail/smfsav/files/patch-readme
parent- Fixup svn props (diff)
- Revive mail/smfsav
- Fix staging - Add LICENSE_FILE - Modernize pthread flags usage - Modernize user/group handling - Regenerate patches - Pass maintainership to submitter PR: 199081 Submitted by: sasaki@fcc.ad.jp
Notes
Notes: svn path=/head/; revision=388093
Diffstat (limited to 'mail/smfsav/files/patch-readme')
-rw-r--r--mail/smfsav/files/patch-readme28
1 files changed, 28 insertions, 0 deletions
diff --git a/mail/smfsav/files/patch-readme b/mail/smfsav/files/patch-readme
new file mode 100644
index 000000000000..9b25eef732d5
--- /dev/null
+++ b/mail/smfsav/files/patch-readme
@@ -0,0 +1,28 @@
+--- readme.orig 2006-10-25 20:15:10 UTC
++++ readme
+@@ -38,21 +38,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/smfsav.conf file.
+
+-/usr/local/sbin/smf-sav
++%%PREFIX%%/sbin/smfsav
+ or
+-/usr/local/sbin/smf-sav -c /etc/mail/smfs/smf-sav.conf
++%%PREFIX%%/sbin/smfsav -c %%PREFIX%%/etc/smfsav.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
+-
+-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.
++INPUT_MAIL_FILTER(`smfsav', `S=unix:/var/run/smfsav/smfsav.sock, T=S:30s;R:4m')dnl
+
+ 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,