This is related the to recent ``blacklisting the free webmail
providers'' thread on tmda-users.

I thought I'd prototype this using TMDA with only my own mail first
before doing it at the MTA level.  e.g,

  from-file ~/.tmda/lists/webmaildomains bounce

where webmaildomains contains:

[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

etc..

The problem is that the 'bounce' action only uses the bounce.txt
template, which isn't appropriate for this particular use.

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.
_________________________________________________
tmda-workers mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-workers

Reply via email to