Re: [exim-dev] [exim-cvs] cvs commit: exim/exim-doc/doc-txt …

Góra strony
Delete this message
Reply to this message
Autor: Jakob Hirsch
Data:  
Dla: exim-dev
Temat: Re: [exim-dev] [exim-cvs] cvs commit: exim/exim-doc/doc-txt ChangeLog exim/exim-src/src spool_mbox.c
Hi,

it's a little unpleasant to bring this up again, but...

>   +    /* Generate mailbox headers. The $received_for variable is (up to at least
>   +    Exim 4.64) never set here, because it is only set when expanding the
>   +    contents of the Received: header line. However, the code below will use it
>   +    if it should become available in future. */
>   +
>   +    temp_string = expand_string(
>   +      US"From ${if def:return_path{$return_path}{MAILER-DAEMON}} ${tod_bsdinbox}\n"
>   +      "${if def:sender_address{X-Envelope-From: <${sender_address}>\n}}"
>   +      "${if def:received_for{X-Envelope-To: <${received_for}>\n}}");


is there a good reason to use the not-working $received_for instead of
$recipients? The latter is always defined and contains _all_ recipients,
not only one.