Szerző: Peter Bowyer Dátum: Címzett: exim users Tárgy: Re: [exim] $header_* not defined in router?
On 02/04/07, Carlo Wood <carlo@???> wrote: > On Mon, Apr 02, 2007 at 08:12:57PM +0200, Carlo Wood wrote:
> > The rest is not relevant.
>
> I just realized that from the full output you can see
> that the DATA command (and thus all headers) have not
> been processed yet at the moment that an (RCPT TO)
> address is being routed...
>
> Thus, you CANNOT use $header_*: in router definitions.
You can, but during a verify operation the headers won't exist, as
you've discovered. During the delivery operation they do. You can
separate the two cases with the 'verify_*' options.
>
> /me wonders why nobody told me that.
/me suggests you lose the attitude when asking for help.