|
Lines 1-28
Link Here
|
| 1 |
--- readme.orig 2006-10-25 20:15:10 UTC |
1 |
--- readme.orig 2006-10-26 05:15:10.000000000 +0900 |
| 2 |
+++ readme |
2 |
+++ readme 2015-06-02 13:24:39.167974000 +0900 |
| 3 |
@@ -38,21 +38,18 @@ Under FreeBSD the BIND v8 is required (p |
3 |
@@ -38,11 +38,11 @@ |
| 4 |
make |
4 |
make |
| 5 |
make install |
5 |
make install |
| 6 |
|
6 |
|
| 7 |
- Inspect and edit the /etc/mail/smfs/smf-sav.conf file. |
7 |
- Inspect and edit the /etc/mail/smfs/smf-sav.conf file. |
| 8 |
+ Inspect and edit the %%PREFIX%%/etc/smfsav.conf file. |
8 |
+ Inspect and edit the %%PREFIX%%/etc/smf-sav.conf file. |
| 9 |
|
9 |
|
| 10 |
-/usr/local/sbin/smf-sav |
10 |
-/usr/local/sbin/smf-sav |
| 11 |
+%%PREFIX%%/sbin/smfsav |
11 |
+%%PREFIX%%/sbin/smf-sav |
| 12 |
or |
12 |
or |
| 13 |
-/usr/local/sbin/smf-sav -c /etc/mail/smfs/smf-sav.conf |
13 |
-/usr/local/sbin/smf-sav -c /etc/mail/smfs/smf-sav.conf |
| 14 |
+%%PREFIX%%/sbin/smfsav -c %%PREFIX%%/etc/smfsav.conf |
14 |
+%%PREFIX%%/sbin/smf-sav -c %%PREFIX%%/etc/smf-sav.conf |
| 15 |
|
15 |
|
| 16 |
Add this milter to start-up scripts before starting a Sendmail daemon. |
16 |
Add this milter to start-up scripts before starting a Sendmail daemon. |
| 17 |
Look at the contributed samples of start-up scripts. |
17 |
Look at the contributed samples of start-up scripts. |
| 18 |
|
|
|
| 19 |
Add these lines to your Sendmail configuration file (usually sendmail.mc): |
| 20 |
define(`confMILTER_MACROS_HELO', confMILTER_MACROS_HELO`, {verify}')dnl |
| 21 |
-INPUT_MAIL_FILTER(`smf-sav', `S=unix:/var/run/smfs/smf-sav.sock, T=S:30s;R:4m')dnl |
| 22 |
- |
| 23 |
-IMPORTANT: make sure that /var/run is not a group writable directory! If so, |
| 24 |
-or chmod 755 /var/run, or if it's impossible switch to another directory. |
| 25 |
+INPUT_MAIL_FILTER(`smfsav', `S=unix:/var/run/smfsav/smfsav.sock, T=S:30s;R:4m')dnl |
| 26 |
|
| 27 |
IMPORTANT: make sure that libmilter is compiled with BROKEN_PTHREAD_SLEEP defined. |
| 28 |
If this symbol is not defined, libmilter will use sleep() in signal-handler thread, |