Re: [exim] ':' not escaped in local part of recipient addres…

Góra strony
Delete this message
Reply to this message
Autor: Tom Kistner
Data:  
Dla: Andreas Prieß
CC: exim-users
Temat: Re: [exim] ':' not escaped in local part of recipient address
Andreas Prieß schrieb:

> So for the list of recipients in "recipients = +batv_senders" the ':' is seen
> as separator for the list elements and not as part of the pgsql query.
>
> But how can this be avoided? The address is correctly quoted for postgres itself.
> And I don't see any similar examples in the docs that are somehow quoted to protect against such an error.


I'm surprised that you are the first one to have that problem. Changing
the list separator to a newline like this:

addresslist batv_senders = <\n pgsql;SQL_BATV_USER

should solve that particular one (I doubt that newlines can appear in
local parts or domains).

/tom