Lloyd Zusman <[EMAIL PROTECTED]> writes: > You have my vote. And I agree with the /full/path/to syntax. > > Hmmm ... would it be possible to default to TEMPLATE_DIR if the file > name doesn't begin with a slash; otherwise, use the full path name? > That would cover all possibilities, I think.
Yes, this is how I implemented it. Here's the CVS commit 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 _________________________________________________ tmda-workers mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-workers
