CVS: tmda/htdocs config-filter.ht,1.25,1.26 config-filter.html,1.46,1.47 config-vars.html,1.55,1.56
"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-serv26285/htdocs Modified Files: config-filter.ht config-filter.html config-vars.html Log Message: New feature. The bounce,reject FILTER_INCOMING action now takes an optional 'template' argument to bounce using a specific template rather than the default template (bounce.txt). The argument can either be an absolute pathname (including tilde expansion) or a relative (to TEMPLATE_DIR) pathname. Assuming TEMPLATE_DIR is set to ~/.tmda/templates, each of the following instructions are equivalent: from johndoe* bounce = /users/jasonrm/.tmda/templates/bounce_freemail.txt from johndoe* bounce = ~/.tmda/templates/bounce_freemail.txt from johndoe* bounce = ~jasonrm/.tmda/templates/bounce_freemail.txt from johndoe* bounce = bounce_freemail.txt Index: config-filter.ht =================================================================== RCS file: /cvsroot/tmda/tmda/htdocs/config-filter.ht,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- config-filter.ht 3 Jun 2003 21:31:49 -0000 1.25 +++ config-filter.ht 9 Jun 2003 02:20:53 -0000 1.26 @@ -116,13 +116,23 @@ (for incoming, action can be one of): <blockquote><pre> bounce,reject (bounce the message) +bounce,reject=<template> (bounce the message using a specific template) drop,exit,stop (silently drop the message) ok,accept,deliver (deliver the message) ok,accept,deliver=<instruction> (deliver to a Maildir, mbox, program, or address) confirm (request confirmation for the message) hold (store the message in the pending queue but do not send a confirmation request) - </blockquote></pre> + +The <b>template</b> option to <b>bounce,reject</b> can be used +to bounce the message using a specific template file rather than the +default (bounce.txt). The option can be an absolute pathname to the +template file (e.g, <i>/path/to/template.txt</i>). Pathnames +starting with a tilde will be expanded. It can also be +a relative pathname, in which case the template will be searched for +under <a href="config-vars.html#TEMPLATE_DIR">TEMPLATE_DIR</a> as +described in the <a href="howto-template.html">Template HOWTO</a>. +<br><br> The <b>instruction</b> option to <b>ok,accept,deliver</b> can be used to short-circuit the default delivery method by delivering the message Index: config-filter.html =================================================================== RCS file: /cvsroot/tmda/tmda/htdocs/config-filter.html,v retrieving revision 1.46 retrieving revision 1.47 diff -u -r1.46 -r1.47 --- config-filter.html 3 Jun 2003 21:31:49 -0000 1.46 +++ config-filter.html 9 Jun 2003 02:20:53 -0000 1.47 @@ -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 --> +<!-- Sun Jun 8 20:08:02 2003 --> <!-- USING HT2HTML 2.0 --> <!-- SEE http://ht2html.sf.net --> <!-- User-specified headers: @@ -301,13 +301,23 @@ (for incoming, action can be one of): <blockquote><pre> bounce,reject (bounce the message) +bounce,reject=<template> (bounce the message using a specific template) drop,exit,stop (silently drop the message) ok,accept,deliver (deliver the message) ok,accept,deliver=<instruction> (deliver to a Maildir, mbox, program, or address) confirm (request confirmation for the message) hold (store the message in the pending queue but do not send a confirmation request) - </blockquote></pre> + +The <b>template</b> option to <b>bounce,reject</b> can be used +to bounce the message using a specific template file rather than the +default (bounce.txt). The option can be an absolute pathname to the +template file (e.g, <i>/path/to/template.txt</i>). Pathnames +starting with a tilde will be expanded. It can also be +a relative pathname, in which case the template will be searched for +under <a href="config-vars.html#TEMPLATE_DIR">TEMPLATE_DIR</a> as +described in the <a href="howto-template.html">Template HOWTO</a>. +<br><br> The <b>instruction</b> option to <b>ok,accept,deliver</b> can be used to short-circuit the default delivery method by delivering the message Index: config-vars.html =================================================================== RCS file: /cvsroot/tmda/tmda/htdocs/config-vars.html,v retrieving revision 1.55 retrieving revision 1.56 diff -u -r1.55 -r1.56 --- config-vars.html 5 Jun 2003 14:05:33 -0000 1.55 +++ config-vars.html 9 Jun 2003 02:20:53 -0000 1.56 @@ -1,7 +1,7 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <!-- THIS PAGE IS AUTOMATICALLY GENERATED. DO NOT EDIT. --> -<!-- Thu Jun 5 09:59:14 2003 --> +<!-- Sun Jun 8 19:50:55 2003 --> <!-- USING HT2HTML 2.0 --> <!-- SEE http://ht2html.sf.net --> <!-- User-specified headers: _______________________________________ tmda-cvs mailing list http://tmda.net/lists/listinfo/tmda-cvs