Re: [Exim] ${sender_address} returning blank

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: Dan Egli
CC: exim-users
Assumpte: 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.