This is just normal untainting, nothing impossible about it.
>From the top of my head, maybe replace the $local_part in the
offending line with
${lookup{${local_part}}dsearch{/var/lib/mailman/lists}}
Not tested, not guaranteed to work, but you get the idea. Check the
exim documentation for more details.
On Wed, 5 Mar 2025 at 12:43, Jacques B. Siboni via Exim-users
<[email protected]> wrote:
>
> Hello dears
>
> I am struggling for a while to un-taint messages sent to mailman groups. I
> could
> not find any solution to this. Here are the conf I use:
>
> mailman_router:
> driver = accept
> domains = lutecium.org
> require_files = /var/lib/mailman/lists/$local_part/config.pck
> local_parts = topologos-workshop : topologos-workshop-admin : topologos-
> workshop-bounces
> transport = mailman_transport
>
> mailman_transport:
> driver = pipe
> command = "/var/lib/mailman/mail/mailman post ${quote:$local_part}"
> current_directory = /var/lib/mailman
> home_directory = /var/lib/mailman
> user = list
> group = list
> return_fail_output = true
> freeze_exec_fail = true
> log_output = true
> use_shell = false
>
> These are the last trials but I tried more than 10 others without success,
> here
> is the log error which insists:
> ** [email protected] R=mailman_router T=mailman_transport:
> Tainted arg 2 for mailman_transport transport command: 'topologos-workshop'
>
> exim4 version is Exim version 4.98 #2 built 15-Feb-2025 13:02:27
>
> One last comment, I have been using these mailman lists for years on another
> machine with no problem
>
> I'd be very happy if you could help me to solve this stupid situation
>
> All the best
>
> Jacques
>
> --
> ## subscription configuration (requires account):
> ##
> https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
> ## unsubscribe (doesn't require an account):
> ## [email protected]
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/
--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## [email protected]
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/