CVS: tmda/htdocs config-server.ht,1.26,1.27 config-server.html,1.51,1.52

"Jason R. Mastaler" <[email protected]>
Newsgroups gmane.mail.spam.tmda.cvs
Message-ID <[email protected]>
Update of /cvsroot/tmda/tmda/htdocs
In directory sc8-pr-cvs1:/tmp/cvs-serv22683

Modified Files:
	config-server.ht config-server.html 
Log Message:
Add instructions for calling tmda-filter from maildrop.
Contributed by John Goerzen.


Index: config-server.ht
===================================================================
RCS file: /cvsroot/tmda/tmda/htdocs/config-server.ht,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- config-server.ht	3 Jun 2003 21:31:50 -0000	1.26
+++ config-server.ht	3 Jun 2003 21:43:34 -0000	1.27
@@ -78,7 +78,7 @@
 <tr>
 <td>.qmail</td>
 <td><code>
-|preline /path/to/tmda/bin/tmda-filter<br>
+|preline /path/to/bin/tmda-filter<br>
 ./Mailbox
 </code>
 </td>
@@ -128,7 +128,7 @@
 <tr>
 <td>.qmail-tmda</td>
 <td><code>
-|preline /path/to/tmda/bin/tmda-filter<br>
+|preline /path/to/bin/tmda-filter<br>
 ./Mailbox
 </code>
 </td>
@@ -177,9 +177,7 @@
 <li>Modify <b>~/.forward</b> to send your mail through tmda-filter.
 
 <blockquote><pre>
-
-"| /path/to/tmda/bin/tmda-filter"
-
+"| /path/to/bin/tmda-filter"
 </blockquote></pre>
 
 If this produces a bounce with an <em>env: python: No such file or
@@ -187,9 +185,7 @@
 interpreter, e.g,:
 
 <blockquote><pre>
-
-"|/usr/local/bin/python /path/to/tmda/bin/tmda-filter"
-
+"|/path/to/bin/python /path/to/bin/tmda-filter"
 </blockquote></pre>
 
 <li>If you already filter your mail with procmail and wish to continue
@@ -198,26 +194,36 @@
 Make sure your <b>~/.forward</b> calls procmail with the <b>-p</b> option:
 
 <blockquote><pre>
-
 "|/path/to/bin/procmail -p"
-
 </blockquote></pre>
 
 Finally, add the following snippet to the end of your existing <b>.procmailrc</b>
 to do final delivery:
 
 <blockquote><pre>
-
 # Run the message through tmda-filter.
 :0 w
-| /path/to/tmda/bin/tmda-filter
+| /path/to/bin/tmda-filter
 
 # Take the exit code from TMDA.
 EXITCODE=$?
 
 # TMDA takes care of final delivery
 DEFAULT=/dev/null
+</blockquote></pre>
+
+<li>If you already filter your mail with maildrop and wish to continue
+doing so, you can invoke tmda-filter from your <b>.mailfilter</b> instead.<br><br>
+
+Add the following snippet to the end of your existing <b>.mailfilter</b>
+to do final delivery:
+
+<blockquote><pre>
+import SENDER
+import RECIPIENT
+import EXTENSION
 
+to "| /path/to/bin/tmda-filter"
 </blockquote></pre>
 
 </ol>
@@ -258,7 +264,7 @@
 
 # Run the message through tmda-filter.
 :0 w
-| /path/to/tmda/bin/tmda-filter
+| /path/to/bin/tmda-filter
 
 # Take the exit code from TMDA.
 EXITCODE=$?

Index: config-server.html
===================================================================
RCS file: /cvsroot/tmda/tmda/htdocs/config-server.html,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- config-server.html	3 Jun 2003 21:31:50 -0000	1.51
+++ config-server.html	3 Jun 2003 21:43:34 -0000	1.52
@@ -1,7 +1,7 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>
 <!-- THIS PAGE IS AUTOMATICALLY GENERATED.  DO NOT EDIT. -->
-<!-- Tue Jun  3 13:55:13 2003 -->
+<!-- Tue Jun  3 15:41:47 2003 -->
 <!-- USING HT2HTML 2.0 -->
 <!-- SEE http://ht2html.sf.net -->
 <!-- User-specified headers:
@@ -263,7 +263,7 @@
 <tr>
 <td>.qmail</td>
 <td><code>
-|preline /path/to/tmda/bin/tmda-filter<br>
+|preline /path/to/bin/tmda-filter<br>
 ./Mailbox
 </code>
 </td>
@@ -313,7 +313,7 @@
 <tr>
 <td>.qmail-tmda</td>
 <td><code>
-|preline /path/to/tmda/bin/tmda-filter<br>
+|preline /path/to/bin/tmda-filter<br>
 ./Mailbox
 </code>
 </td>
@@ -362,9 +362,7 @@
 <li>Modify <b>~/.forward</b> to send your mail through tmda-filter.
 
 <blockquote><pre>
-
-"| /path/to/tmda/bin/tmda-filter"
-
+"| /path/to/bin/tmda-filter"
 </blockquote></pre>
 
 If this produces a bounce with an <em>env: python: No such file or
@@ -372,9 +370,7 @@
 interpreter, e.g,:
 
 <blockquote><pre>
-
-"|/usr/local/bin/python /path/to/tmda/bin/tmda-filter"
-
+"|/path/to/bin/python /path/to/bin/tmda-filter"
 </blockquote></pre>
 
 <li>If you already filter your mail with procmail and wish to continue
@@ -383,26 +379,36 @@
 Make sure your <b>~/.forward</b> calls procmail with the <b>-p</b> option:
 
 <blockquote><pre>
-
 "|/path/to/bin/procmail -p"
-
 </blockquote></pre>
 
 Finally, add the following snippet to the end of your existing <b>.procmailrc</b>
 to do final delivery:
 
 <blockquote><pre>
-
 # Run the message through tmda-filter.
 :0 w
-| /path/to/tmda/bin/tmda-filter
+| /path/to/bin/tmda-filter
 
 # Take the exit code from TMDA.
 EXITCODE=$?
 
 # TMDA takes care of final delivery
 DEFAULT=/dev/null
+</blockquote></pre>
+
+<li>If you already filter your mail with maildrop and wish to continue
+doing so, you can invoke tmda-filter from your <b>.mailfilter</b> instead.<br><br>
+
+Add the following snippet to the end of your existing <b>.mailfilter</b>
+to do final delivery:
+
+<blockquote><pre>
+import SENDER
+import RECIPIENT
+import EXTENSION
 
+to "| /path/to/bin/tmda-filter"
 </blockquote></pre>
 
 </ol>
@@ -443,7 +449,7 @@
 
 # Run the message through tmda-filter.
 :0 w
-| /path/to/tmda/bin/tmda-filter
+| /path/to/bin/tmda-filter
 
 # Take the exit code from TMDA.
 EXITCODE=$?

_______________________________________
tmda-cvs mailing list
http://tmda.net/lists/listinfo/tmda-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.