git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@359 77e5149b-7576-45b1-b177-96237e5ba77b
Nigel Horne authored on 2004/03/01 10:16:00... | ... |
@@ -90,6 +90,11 @@ You may find INPUT_MAIL_FILTERS is not needed on your machine, however it |
90 | 90 |
is recommended by the Sendmail documentation and I recommend going along |
91 | 91 |
with that. |
92 | 92 |
|
93 |
+The above example shows clamav-milter, clamd and sendmail all on the |
|
94 |
+same machine, however using TCP they may reside on different machines, |
|
95 |
+indeed clamav-milter is capable of talking to multiple clamds for redundancy |
|
96 |
+and load balancing. |
|
97 |
+ |
|
93 | 98 |
I suggest putting SpamAssassin first since you're more likely to get spam |
94 | 99 |
than a virus/worm sent to you. |
95 | 100 |
|
... | ... |
@@ -98,6 +103,13 @@ Add to /etc/sysconfig/clamav-milter |
98 | 98 |
or if clamd is on a different machine |
99 | 99 |
CLAMAV_FLAGS="--max-children=2 --server=192.168.1.9 local:/var/run/clamav/clmilter.sock" |
100 | 100 |
|
101 |
+If you want clamav-milter to listen on TCP for communication with sendmail, |
|
102 |
+for example if they are on different machines use inet:<port>. |
|
103 |
+On machine A (running sendmail) you would have in sendmail.mc: |
|
104 |
+INPUT_MAIL_FILTER(`clamav', `S=inet:3311@machineb, F=, T=S:4m;R:4m')dnl |
|
105 |
+On machine B (running clamav-milter) you would start up clamav-milter thus: |
|
106 |
+clamav-milter inet:3311 |
|
107 |
+ |
|
101 | 108 |
You should have received a script to put into /etc/init.d with this software. |
102 | 109 |
|
103 | 110 |
You should always start clamd before clamav-milter. |