> I have a process that receives mail on a pipe from /etc/aliases, and
> passes it on to another server after some processing.
> I need to make the envelope information (sender, recipients)
> available. (So that the intermediate filter can be transparent to
> the end process.)
> X-Envelope-Mail-From:
> X-Envelope-Rcpt-to: (one or more, or one with a list would be fine.)
Doesn't work - it's only one at most, and then it's $u:
5.2. D -- Define Macro
....
$u The recipient user.
Check the docs about defining mailers and how to handle
the list of recipients, e.g.,
5.4. M -- Define Mailer
...
m This mailer can send to multiple users on the same
host in one transaction. When a $u macro occurs
in the argv part of the mailer definition, that
field will be repeated as necessary for all
qualifying users. Removing this flag can defeat
duplicate supression on a remote site as each
recipient is sent in a separate transaction.
--
Note: please read the netiquette before posting. I will almost never
reply to top-postings which include a full copy of the previous
article(s) at the end because it's annoying, shows that the poster
is too lazy to trim his article, and it's wasting the time of all readers.