Re: [exim] $sender_address is empty when debug

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Kunio
Fecha:  
A: exim-users
Asunto: Re: [exim] $sender_address is empty when debug
Thank you so mutch Philip.

I understand it. And
i was able to show that exim was delivered to another mailbox by using this router
with -bt option.

# exim -d+route+expand -f test@??? -bt hoge@???




----- Original Message -----
送信者: Philip Hazel<ph10@???>
宛先: hanahana_001@???
日付:Wednesday, March, 21, 2007, 06:29 PM
件名: Re: [exim]$sender_address is empty when debug

>
>
> On Wed, 21 Mar 2007, Kunio wrote:
>
> > Why $sender_address is empty when debugging?
> > Is the debugging option insufficient?
> > Please teach me what is bad and how to debug this router.
> >
> >
> > My router setting is as follows.
> > -----------------------------------------------------------------
> > fw_aliases:
> > driver = redirect
> > allow_filter
> > condition = ${if eq{$sender_address}{test@???}}
> > file = /usr/local/exim/fw.from
> > user = exim
> > -----------------------------------------------------------------
> >
> > and run 
> > # /usr/local/exim/bin/exim -bh 210.33.xx.xx -d+route+expand
> > -----------------------------------------------------------------
> >    :
> >    :
> > mail from:test@???
> > rcpt to:hogehoge@???
> >    :
> >    :
> > check verify = sender
> > --------> fw_aliases router <--------
> > local_part=test domain=example.jp
> > checking "condition"
> > expanding: $sender_address
> >    result:                        <------ empty!!

>
> The reason it is empty is that the sender address has not yet been
> accepted. Exim is in the process of verifying the sender in order to
> decide whether to accept it. So at this stage, there is no sender
> address.





> You probably need to add
>
> verify_sender = no
>
> to this router so that it is skipped when verifying sender addresses.
>
>
>
> -- 
> Philip Hazel            University of Cambridge Computing Service
> Get the Exim 4 book:    http://www.uit.co.uk/exim-book

>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
>