Ok philip. Here's what is happening:
I create a message in outlook express from me at this address to me at a
different address (eglidan@???). Then I sent it to exim running on
port 4000 for testing. I am absolutely 100% sure the message was FROM
dan@??? TO eglidan@???.
Oddball thing is that I loaded it up again to display the exact return
strings and it works now. I don't know whats up. It didn't work yesterday
and I made no changes. But now my test port works. I'll keep testing it and
if it keeps working, then great. Otherwise I'll reply back.
-- Dan
----- Original Message -----
From: "Philip Hazel" <ph10@???>
To: "Dan Egli" <dan@???>
Cc: <exim-users@???>
Sent: Tuesday, April 09, 2002 2:20 AM
Subject: Re: [Exim] ${sender_address} returning blank
> On Mon, 8 Apr 2002, Dan Egli wrote:
>
> > I have a transport in my exim.conf file that passes ${sender_address}
on a
> > command line. Now I've read the Dox and from what I can see, a message
FROM
> > ABC@??? TO XYZ@??? should resolve like this
> >
> > ${sender_address} = ABC@???
> > ${pipe_address} = XYZ@???
>
> Yes, if by "FROM" you mean the envelope sender field. NOT the contents
> of the "From:" header line.
>
> > argv[1] = -f
> > argv[2] = ${sender_address}
> > argv[3] = -t
> > argv[4] = ${pipe_address}
> > direct command:
> > argv[0] = /usr/sbin/amavis
> > argv[1] = -f
> > argv[2] = ${sender_address}
> > argv[3] = -d
> > argv[4] = ${pipe_addresses}
> > direct command after expansion:
> > argv[1] = -f
> > argv[2] =
> > argv[3] = -d
> > argv[4] = ABC@???
> >
> > Now am I totally lost or is that quite wrong?
>
> Are you sure the envelope sender is XYZ@???? How was this
> message created? What is the content of the <= line in Exim's main log?
> That line records the envelope sender.
>
> --
> Philip Hazel University of Cambridge Computing Service,
> ph10@??? Cambridge, England. Phone: +44 1223 334714.
>
>