[Exim] how to insert aliases into the 'Received' header?

Top Page
Delete this message
Reply to this message
Author: jeff
Date:  
To: exim-users
Subject: [Exim] how to insert aliases into the 'Received' header?
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?

For example, suppose there is a user joe@??? with the
following /etc/aliases entry:

joe-spam1: joe

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

I would like to make it look like this:

Received: from evil-spam-relay.com [0.1.2.3] for joe-spam1 by big-fun-host.com with esmtp (Exim 3.12 #1
(Debian)) id 12AB3C-0129XY-00; Thu, 21 Aug 2000 13:12:01 -0700

Is there any way to do this with the existing aliasfile driver or with
any other part of the configuration file?