Todd,

On Fri, 27 Jan 2006 at 10:32:51 -0800 you wrote:
    You'll have to post some specific examples if you want me to take a
    closer look.
You asked for it, here are the gory details:

The outgoing filter lines in question:
        to echo@<target> tag
                from    extension=testing
                cc      extension=tester

The message that is being sent:
        envelope sender: me
        From: me
        To: me+before, echo@<target>
        Cc: me+after

Before receives, as expected (note the location of the TMDA line):
        envelope sender: me
        To: me+before, echo@<target>
        Cc: me+after
        From: me
        X-Delivery-Agent: TMDA/1.0.3 (Seattle Slew)

Echo receives, again as I would have expected (From: and Cc: by TMDA):
        envelope sender: me+testing
        To: me+before, echo@<target>
        X-Delivery-Agent: TMDA/1.0.3 (Seattle Slew)
        From: me+testing
        Cc: me+tester

But after receives no Cc: header line (watch the reordering for From:):
        envelope sender: me
        To: me+before, echo@<target>
        X-Delivery-Agent: TMDA/1.0.3 (Seattle Slew)
        From: me
==>>    the From: line appears after the TMDA line
==>>    the Cc: line has been eliminated completely.

Please note,
 * no other filters are involved,
 * using "reply-to" or "to" instead of "cc" has a similar effect on any
   respective header (if it exists), i.e. the header line disappears for 
   all recipients that appear after the recipient that is being processed 
   by the filter,
 * any recipients in the To: line after the recipient that is being 
   processed by the filter are similarly affected (i.e. no Cc: line),
 * the same thing may actually happen to the From: header, except that
   in this case TMDA recreates it in order to be protocol correct,
 * if e.g. the "cc" line contains multiple entries, in the filtered case
   the header is completely replaced by a header generated by the filter.

I have no problem with the fact that the modified header line is only
visible to the filtered recipient, as you said, we wouldn't want to give
the tags away. I can also understand that the filtered recipient gets a 
header that only contains what is specified in the filter. However, I 
wonder why the header line should be completely removed from some 
recipients, and if that were the goal, I would expect that it be removed 
from all recipients.

BTW, I think I know what happens, during filter processing the header 
line in question is cleared in the message that is used for all subsequent
recipients, and never restored. But is was my understanding that a filter
like the one above should not affect other recipients.

Hope this helps, AG

-- 
 ----------------------------------------------------------------------
   Alfred Ganz                                  alfred-ganz:at:agci.com
   AG Consulting, Inc.                          (203) 624-9667
   440 Prospect Street # 11
   New Haven, CT 06511
 ----------------------------------------------------------------------
_____________________________________________
tmda-users mailing list (tmda-users@tmda.net)
http://tmda.net/lists/listinfo/tmda-users

Reply via email to