Re: [exim] headers_remove expand with mysql fails

Pàgina inicial
Delete this message
Reply to this message
Autor: Heiko Schlichting
Data:  
A: Karl-Heinz Wild
CC: exim-users
Assumpte: Re: [exim] headers_remove expand with mysql fails
> The macro for the sql
>
>   MYSQL_ADD_WLR = \
>     REPLACE whitelist_rcpt set \
>         wlr_domain = '${quote_mysql:$sender_address_domain}', \
>         wlr_user = '${quote_mysql:$sender_address_local_part}', \
>         wlr_rcpt = '${quote_mysql:$local_part}@${quote_mysql:$domain}'

>
> The error message looks
>
> error message: "${quote_mysql" is not a known operator (or a } is missing in a variable reference)


You must double the colons in the macro.

Heiko

Heiko Schlichting                Freie Universität Berlin
heiko.schlichting@???   Zentraleinrichtung für Datenverarbeitung
Telefon +49 30 838-54327         Fabeckstraße 32
Telefax +49 30 838454327         14195 Berlin