[Exim] filter file problem

Etusivu
Poista viesti
Vastaa
Lähettäjä: Will Lowe
Päiväys:  
Vastaanottaja: exim-users
Aihe: [Exim] filter file problem
Can anyone tell me what's wrong with the following rule in my .forward?

pipe "$home/bin/newsgate ${lookup{$header_sender}lsearch{$home/sender.map}{$value}{fail}} none $sender_address $sender_host_name $header_subject"

I'm getting (in /var/log/exim/mainlog):

2000-07-06 12:44:15 13AHZH-0000rx-00 ** |$home/bin/newsgate
${lookup{$header_sender }lsearch{$home/sender.map}{$value}{fail}} none
$sender_address $sender_host_name $header_subject <newsgate@???>
D=userforward T=address_pipe: Expansion of "${lookup{$header_sender" from
command "$home/bin/newsgate ${lookup{$header_sender
}lsearch{$home/sender.map}{$value}{fail}} none $sender_address
$sender_host_name $header_subject" in address_pipe transport failed:
missing or misplaced { or }

.. it seems to be complaining about mismatches {}s, but I think the ones
in my "pipe" statement are all ok.

                                         Will


--------------------------------------------------------------------------
| harpo@??? lowe@??? lowe@??? lowe@??? |

|            http://www.cis.udel.edu/~lowe/                 |

|    PGP Public Key:  http://www.cis.udel.edu/~lowe/index.html#pgpkey    |

--------------------------------------------------------------------------