Re: [Exim] $sender_data in 4.34?

Pàgina inicial
Delete this message
Reply to this message
Autor: Fred Viles
Data:  
A: exim-users
Assumpte: Re: [Exim] $sender_data in 4.34?
On 20 Jun 2004 at 15:00, Marilyn Davis wrote about
    "[Exim] $sender_data in 4.34?":


| I'm trying to use the new $sender_data feature:

|...
| So I'm checking senders in a router, and checking the value of
| $sender_data in the next router:

|...
| get_outside_id:
| driver = redirect
| senders = OUTSIDE_ID
| debug_print = get_outside_id sender_data = $sender_data
| data =

|
| get_inside_id:
| driver = redirect
| debug_print = get_inside_id sender_data = $sender_data
| address_data = ADDRESS_INFO
| data =

|...
| expanding: ${lookup mysql{select addresses.id from addresses, domains where addresses.local_part='${quote_mysql:$sender_address_local_part}'and domains.name='${quote_mysql:$sender_address_domain}' and domains.id=addresses.domain_id}{$value}{0}}
|    result: 59
| address match: subject=marilyn@??? pattern=59
| deliberate.com in "59"? no (end of list)
| marilyn@??? in "59"? no (end of list)
| get_outside_id router skipped: senders mismatch

|...

| And it goes on. There's no data in sender_data. What am I doing wrong?


Just a guess, but I wouldn't be surprised if the senders= condition
needs to *succeed* for $sender_data to be set.

- Fred