[exim] Re: Yet another taint problem.

Página Inicial
Delete this message
Reply to this message
Autor: Andrew C Aitchison
Data:  
Para: Thew, Alan
CC: 'exim-users@lists.exim.org'
Assunto: [exim] Re: Yet another taint problem.
On Wed, 5 Jun 2024, Thew, Alan via Exim-users wrote:

> Hi,
>
> I have fixed an "easy" issue with file names in the past but have found that the following
>
> driver = accept
> condition = ${if match{$local_part}{-dmarc-}{yes}{no}}
> retry_use_local_part
> transport = listserv_pipe
> no_verify
>
> fails with
>
> 2024-06-05 10:49:55 1sEnHH-0008Ab-2d ** 00000003ccf76c45-dmarc-request@??? R=dmarc_listserv T=listserv_pipe: Tainted arg 2 for listserv_pipe transport command: '00000003ccf76c45-dmarc-request'


I'm puzzled by the "arg 2", but the general solution to tainted
$local_part is $local_part_data.
There are some conditions required, but in many cases this variable
is created automatically.

-- 
Andrew C. Aitchison                      Kendal, UK
                    andrew@???


--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/