"Jason R. Mastaler" <[EMAIL PROTECTED]> writes:

> This is related the to recent ``blacklisting the free webmail
> providers'' thread on tmda-users.
>
> [ ... ]
>
> Of course I could do a pipe delivery to a program like bouncesaying,
> but that's sort of clumsy, and is also qmail-specific.  I'd like to do
> something like:
>
>   from-file ~/.tmda/lists/webmaildomains bounce=/path/to/template.txt
>
> Any comments on this feature before I look into coding it?  How about
> the interface?  Does /full/path/to/template.txt look right?  I had
> thought about just specifying the template name which would be
> relative to TEMPLATE_DIR, but that seems less flexible.  Also, one can
> easily do that with the variable interpolation feature:
>
>   from-file ~/.tmda/lists/webmaildomains bounce=${TEMPLATE_DIR}/template.txt
>
> This functionality has been requested several times in the past, so I
> think it'll be generally useful to others as well.

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.

-- 
 Lloyd Zusman
 [EMAIL PROTECTED]
_________________________________________________
tmda-workers mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-workers

Reply via email to