[exim] Tainted search query is not properly quoted

2023-03-19 Thread Odhiambo Washington via Exim-users
I am missing a little something in my config for greylisting. Exim-4.96 here. 2023-03-19 13:53:21 1pdqf6-000LgR-0z tainted search query is not properly quoted (ACL warn, /etc/exim/exim-greylist.conf.inc 124): INSERT INTO greylist VALUES ( 'ecpeUlXRs7cHPrkaiW5j', '1679223501', '74.6.132.40', ' soni

Re: [exim] Tainted search query is not properly quoted

2023-03-19 Thread Jeremy Harris via Exim-users
On 19/03/2023 10:58, Odhiambo Washington via Exim-users wrote: warn condition= ${if eq {$acl_m_greyexpiry}{} {1}} set acl_m_dontcare = ${lookup sqlite {INSERT INTO greylist \ VALUES ( '$acl_m_greyident', \ '${eval10:$tod_ep

[exim] Single quotes and transport_filter

2023-03-19 Thread Ian Z via Exim-users
Chapter 24 documents the transport_filter option. An example is given where the argv vector for the command comes from an expansion: transport_filter = '/bin/cmd${if eq{$host}{a.b.c}{1}{2}}' This runs the command /bin/cmd1 if the host name is a.b.c, and /bin/cmd2 otherwise. If double quotes

[exim] Stacking or renaming headers

2023-03-19 Thread Ian Z via Exim-users
By "Stacking", I mean the common pattern where Foo: the-ur-foo is rewritten into X-Original-Foo: the-ur-foo Foo: the-no-longer-ur-foo I am not thinking of a header with addresses here, so Exim's rewrite mechanism doesn't apply. Is there a "best" or "accepted" way to do this? In particular

Re: [exim] Single quotes and transport_filter

2023-03-19 Thread Jeremy Harris via Exim-users
On 19/03/2023 17:22, Ian Z via Exim-users wrote: Chapter 24 documents the transport_filter option. An example is given where the argv vector for the command comes from an expansion: transport_filter = '/bin/cmd${if eq{$host}{a.b.c}{1}{2}}' This runs the command /bin/cmd1 if the host name

Re: [exim] Stacking or renaming headers

2023-03-19 Thread Jeremy Harris via Exim-users
On 19/03/2023 17:42, Ian Z via Exim-users wrote: X-Original-Foo: the-ur-foo Foo: the-no-longer-ur-foo I am not thinking of a header with addresses here, so Exim's rewrite mechanism doesn't apply. Is there a "best" or "accepted" way to do this? In particular, can I do this in an ACL: ad