[Exim] Re: Envelope-to header max. one address ?

Góra strony
Delete this message
Reply to this message
Autor: Miquel van Smoorenburg
Data:  
Dla: exim-users
Temat: [Exim] Re: Envelope-to header max. one address ?
In article <a608ff$7pn$1@???>,
Miquel van Smoorenburg <miquels@???> wrote:
>I'm aliasing several domains to 1 user mailbox, and I would like
>to have the Envelope-to header show the original recipients - as
>it supposedly does.
>But whatever I try Envelope-to always shows only one recipient.


Ah, I've just found something interesting. This only happens
if I have a .forward file and use procmail as a local
delivery agent, called from .forward.

This is how my .forward looks:

=-=-=-=-=-=
"|/usr/bin/procmail"
=-=-=-=-=-=

So, it looks like the forwardfile driver or the pipe driver
causes this?

Relevant parts of my exim config:

# TRANSPORTS
address_pipe:
driver = pipe
envelope_to_add = true
return_path_add = true
group=mail
headers_remove = "lines"
headers_add = "Lines: ${body_linecount}\n"
return_output

# DIRECTORS
userforward:
driver = forwardfile
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply
check_ancestor
file = .forward
modemask = 022
filter

Commenting out "filter" and "check_ancestor" in the userforward director
doesn't help. I've also tried to add "batch = all" to the address_pipe
director, but that doesn't help either ..

Rest of my original message is below. Any help appreciated.

>Very small example, in reality my aliases are domain-based, but
>the result is the same...
>
>#/etc/aliases:
>testalias1: miquels
>testalias2: miquels
>
>$ mutt testalias2 testalias1
> [enter test message]
>
>result:
>
> Return-path: <miquels@???>
> Envelope-to: testalias2@???
> Date: Mon, 4 Mar 2002 17:46:18 +0100
> From: Miquel van Smoorenburg <miquels@???>
> To: testalias2@???, testalias1@???
> Subject: test
> Message-ID: <20020304174618.A9187@???>
>
>As you can see, there's only one address in the Envelope-to:
>header.
>
>How can I fix this? It's probably due to exim removing duplicate
>addresses, or something ?
>


--
Computers are useless, they only give answers. --Pablo Picasso