On Wed, 22 Nov 2000 mguz@??? wrote:
> Our office domain, call it office.com, has a wide range aliases and we
> have a _Default_ set up that generates a message telling the sender
> that they have emailed an unknown address. However the problem with
> this is that I want to show the sender the address that is wrong,
> incase they mistyped or if it was sent to a batch of addresses.
>
> If I use the LOCAL-PART env var that only reads as
> _default_@??? whereas I want to display the original intended
> recipient before it was translated to its alias.
From the fact that you use the phrase "env var", I assume you are using
some kind of pipe? There is no environment variable for the original
local part.
However, there is an Exim variable called $original_local_part that
contains this. You could pass it over as part of your pipe command.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.