Hi everybody,
trying to use a separate email-address for every recipient/mailinglist (so
that I can track down where spammers get my address from), I figured it'd be
cool if I could set the base address (aka tmda-address --address) for all the
tagging in my filter file.
So I added in function "make_field" (tmda-inject), around line 160:
if cookie_option and cookie_option.find(':') >= 0:
from_address = cookie_option.split(':')[1]
cookie_option = cookie_option.split(':')[0]
and my outgoing filter contains
to [EMAIL PROTECTED] tag
envelope [EMAIL PROTECTED]:[EMAIL PROTECTED]
from dated=7d:[EMAIL PROTECTED]
Now, no matter what my mailer uses as from line, I should end up with
<[EMAIL PROTECTED]> as envelope sender and
<[EMAIL PROTECTED]> as from-header. Something
along these lines.
Neither do I know much about about the TMDA code base, nor do I have done any
python coding before, so this only only a very rough idea.
Comments?
Cheers
Clemens
_________________________________________________
tmda-workers mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-workers