Tim Legant <[EMAIL PROTECTED]> writes:

> Trivial.  Just remove the 'if cookie_type:' statement and the
> following line from the custom header for loop in inject_message
> (tmda_inject).

I don't understand, won't the following one-line patch do the trick?

Index: bin/tmda-inject
===================================================================
RCS file: /cvsroot/tmda/tmda/bin/tmda-inject,v
retrieving revision 1.70
diff -u -u -r1.70 tmda-inject
--- bin/tmda-inject     3 Oct 2002 04:51:34 -0000       1.70
+++ bin/tmda-inject     4 Oct 2002 22:59:28 -0000
@@ -278,7 +278,7 @@
         (cookie_type, cookie_option) = actions[header]
         field = make_field(cookie_type, cookie_option, from_address, to_address)
         if cookie_type:
-            field = message_format(field, full_name, Defaults.MESSAGE_FROM_STYLE)
+            field = message_format(field, full_name, Defaults.MESSAGE_NOT_FROM_STYLE)
         nice_header = string.capwords(header.replace('-', ' ')).replace(' ', '-')
         nice_headers.append((nice_header, field))
     if nice_headers:
_________________________________________________
tmda-workers mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-workers

Reply via email to