This doesn't seem to be the case. I have tested it on my local system
by sending a message with no CC or BCC and only one address (one of my
aliases) on the To line. The only place where the alias shows up is in
the To line.
But even if that did work, I would like to figure out a way to make it
work in cases where there are multiple recipients. Yes, it would be a
confidentiality exposure if it showed all of the BCC recipients but
that's not what I am trying for. What I want is for it to put some
indication in the header whenever it resolves an alias to a local
address.
If this is not possible with the stock version of exim, then I am not
averse to modifying it. I just thought I would check to see if there
was already some facility for this before diving into the source.
I guess I should say a little more about my real goal: When I get spam
on one of my aliases, I want to know which one it is so that I can
figure out where the spammer got my address and also so I can turn the
alias off or redirect it to another mailbox.
Philip Hazel wrote:
>
> On Thu, 17 Aug 2000, jeff wrote:
>
> > Is there some way to configure exim so that when a message is received
> > for an alias of a local user, the alias is placed in the Received
> > header?
>
> That will happen automatically, PROVIDED there is only one recipient for
> the message. If there is more than one recipient, it does not happen,
> because it could be a confidentiality exposure of bcc recipients.
>
> > Right now, if a message comes in for joe-spam1@???, the
> > following header is added before local delivery:
> >
> > Received: from evil-spam-relay.com [0.1.2.3] by big-fun-host.com with esmtp (Exim 3.12 #1 (Debian)) id
> > 12AB3C-0129XY-00; Thu, 21 Aug 2000 13:12:01 -0700
>
> Ah Debian. Looks like they have modified what goes in the Received:
> header. Take a look at the received_header_text option.
>
> --
> Philip Hazel University of Cambridge Computing Service,
> ph10@??? Cambridge, England. Phone: +44 1223 334714.