Re[2]: [Exim] Why add X-Envelope-To?

Góra strony
Delete this message
Reply to this message
Autor: Anton A. Golubev
Data:  
Dla: Dave C.
CC: exim-users
Temat: Re[2]: [Exim] Why add X-Envelope-To?
Hello Dave,

Sunday, January 27, 2002, 2:14:57 AM, you wrote:

DC> This isn't something Exim is hardcoded to do - it is set in the
DC> configuration file.


DC> Read the exim spec file to find it.


The exim specification said:
"If the filter sets up any deliveries of its own, an extra header line is added
to them with the name "X-Envelope-to:". This contains up to 100 of the
original message's envelope recipients.
If the filter specifies any significant deliveries, the message's own recipient list is ignored.
Non-significant deliveries, however, are added to the message's existing recipients.

The Exim specification does not mention any possibility to suppress the header addition.
It also does not give any ideas, why to add it at all.

It seems, this header is unconditionally added in delivery.c module (certainly
only for pipe, save and the similar filter actions):

    h->text = store_get(size);
    strcpy(h->text, "X-Envelope-To: ");
    slen = (int)strlen(h->text);


The question is still: how to avoid disclosure of recipients in mailing lists and
the same problem in "bcc:" carbon copies?

The extra question: what is the purpose of this header, which is added so strong way (unconditionally)?


-- Anton                          http://www.engec.ru
At Home