[Mimedefang] Adding Recipients to X-Recipients Header

Marcus Schopen lists at localguru.de
Tue Jun 21 21:06:39 EDT 2011


Am Dienstag, den 21.06.2011, 17:13 -0700 schrieb kd6lvw at yahoo.com:
> --- On Tue, 6/21/11, Marcus Schopen <lists at localguru.de> wrote:
> > > Maybe the recipient is not supposed to know who else got copies.
> > 
> > This would only be the case if another BCc recipient is handled by my
> > mailserver. Or am I wrong?
> 
> Correct.  You can find out other recipients on YOUR mail server (or downstream), but not recipients which were handled by other servers upstream or in parallel to yours.

I add the following lines to filter_end

    foreach $recip(@Recipients) {
     if ($recip =~ /<.*\@test\.com>$/i) {
      action_add_header("X-Orig-Rcpts", "$recip");
     }
    }

If I send an email from an external MX to BCc test at test.com and BCc
test2 at test.com I just get an X-Orig-Rcpts for test2 at test.com. In my
config stream_by_domain is activated in filter_begin.

Ciao!

> _______________________________________________
> NOTE: If there is a disclaimer or other legal boilerplate in the above
> message, it is NULL AND VOID.  You may ignore it.
> 
> Visit http://www.mimedefang.org and http://www.roaringpenguin.com
> MIMEDefang mailing list MIMEDefang at lists.roaringpenguin.com
> http://lists.roaringpenguin.com/mailman/listinfo/mimedefang





More information about the MIMEDefang mailing list