logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

CVS: tmda/htdocs config-filter.ht,1.22,1.23 config-filter.html,1.39,1.40 fi: msg#00002

Subject: CVS: tmda/htdocs config-filter.ht,1.22,1.23 config-filter.html,1.39,1.40 filter-sources.ht,1.2,1.3 filter-sources.html,1.11,1.12
Update of /cvsroot/tmda/tmda/htdocs
In directory sc8-pr-cvs1:/tmp/cvs-serv20511/htdocs

Modified Files:
        config-filter.ht config-filter.html filter-sources.ht 
        filter-sources.html 
Log Message:
Doocument the new 'pipe' incoming filter source.


Index: config-filter.ht
===================================================================
RCS file: /cvsroot/tmda/tmda/htdocs/config-filter.ht,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- config-filter.ht    14 Nov 2002 00:09:54 -0000      1.22
+++ config-filter.ht    4 Mar 2003 21:19:38 -0000       1.23
@@ -476,6 +476,12 @@
 size <10000 deliver
 size >1000000 exit
 
+# Throw the message away if Razor says it's SPAM
+pipe /usr/bin/razor-check drop
+
+# Save the message to a special mbox if Razor says it's SPAM
+pipe "/usr/bin/razor-check -rs=razor.server.com" deliver=~/mbox.spam
+
 </pre>
 
 <u><b>Example Outgoing Filter</u></b>:

Index: config-filter.html
===================================================================
RCS file: /cvsroot/tmda/tmda/htdocs/config-filter.html,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- config-filter.html  25 Feb 2003 20:15:45 -0000      1.39
+++ config-filter.html  4 Mar 2003 21:19:38 -0000       1.40
@@ -1,6 +1,6 @@
 <HTML>
 <!-- THIS PAGE IS AUTOMATICALLY GENERATED.  DO NOT EDIT. -->
-<!-- Tue Feb 25 13:12:33 2003 -->
+<!-- Tue Mar  4 14:17:55 2003 -->
 <!-- USING HT2HTML 1.2 -->
 <!-- SEE http://barry.wooz.org/software/ht2html -->
 <!-- User-specified headers:
@@ -641,6 +641,12 @@
 # Accept all messages smaller than 10KB, but drop messages larger than 1MB
 size <10000 deliver
 size >1000000 exit
+
+# Throw the message away if Razor says it's SPAM
+pipe /usr/bin/razor-check drop
+
+# Save the message to a special mbox if Razor says it's SPAM
+pipe "/usr/bin/razor-check -rs=razor.server.com" deliver=~/mbox.spam
 
 </pre>
 

Index: filter-sources.ht
===================================================================
RCS file: /cvsroot/tmda/tmda/htdocs/filter-sources.ht,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- filter-sources.ht   13 Nov 2002 01:56:54 -0000      1.2
+++ filter-sources.ht   4 Mar 2003 21:19:39 -0000       1.3
@@ -266,6 +266,20 @@
 
 <br><br>
 
+<dt>
+<code>
+pipe &lt;command_string&gt;
+</code>
+<dd>
+
+The <code>pipe</code> source expects a shell command string to which the 
+full contents of the incoming message will be piped to. A match is found
+if <code>command_string</code> returns a zero exit status. Any non-zero
+exit status is interpreted as a non-match. If <code>command_string</code>
+contains whitespace, it should be quoted.
+
+<br><br>
+
 </dl>
 
 <h3>Miscellaneous Notes</h3>

Index: filter-sources.html
===================================================================
RCS file: /cvsroot/tmda/tmda/htdocs/filter-sources.html,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- filter-sources.html 25 Feb 2003 20:15:50 -0000      1.11
+++ filter-sources.html 4 Mar 2003 21:19:40 -0000       1.12
@@ -1,6 +1,6 @@
 <HTML>
 <!-- THIS PAGE IS AUTOMATICALLY GENERATED.  DO NOT EDIT. -->
-<!-- Tue Feb 25 13:12:34 2003 -->
+<!-- Tue Mar  4 14:17:39 2003 -->
 <!-- USING HT2HTML 1.2 -->
 <!-- SEE http://barry.wooz.org/software/ht2html -->
 <!-- User-specified headers:
@@ -429,6 +429,20 @@
 number of bytes to compare to the size of the message.  Only the
 `&lt;' and `&gt;' operators are supported.  There must not be any
 whitespace between the operator and the number.
+
+<br><br>
+
+<dt>
+<code>
+pipe &lt;command_string&gt;
+</code>
+<dd>
+
+The <code>pipe</code> source expects a shell command string to which the 
+full contents of the incoming message will be piped to. A match is found
+if <code>command_string</code> returns a zero exit status. Any non-zero
+exit status is interpreted as a non-match. If <code>command_string</code>
+contains whitespace, it should be quoted.
 
 <br><br>
 

_______________________________________
tmda-cvs mailing list
http://tmda.net/lists/listinfo/tmda-cvs



<Prev in Thread] Current Thread [Next in Thread>