On Fri, 6 May 2022, Odhiambo Washington via Exim-users wrote:

I must admit I have zero clue how to detaint this:

LOG: MAIN
 ** mail...@lists.mydomain.name <mailman-bounces+moses=
xxxxxx....@lists.mydomain.name> R=mailman_router T=mailman_transport:
Tainted arg 1 for mailman_transport transport command: 'bounces'

mailman_router:
 driver                     = accept
 require_files           = MAILMAN_HOME/lists/$local_part/config.pck
 domains                 = +mm_domains
 headers_remove    = ${if eq{SPAMHEADERTYPE}{0}{X-Spam-Score}}
 headers_remove    = ${if eq{SPAMHEADERTYPE}{0}{X-Spam-Report}}
 headers_remove    = ${if eq{SPAMHEADERTYPE}{0}{X-Spam-Score-Integer}}
 headers_remove    = ${if eq{SPAMHEADERTYPE}{0}{X-Spam-Flag}}
 transport                 = mailman_transport
 local_part_suffix = -bounces : -bounces+* : \
                     -confirm+* : -join : -leave : \
                     -owner : -request : -admin
 local_part_suffix_optional

mailman_transport:
 driver                 = pipe
 command           = MAILMAN_WRAP \
                     '${if def:local_part_suffix \
                     {${sg{$local_part_suffix}{-(\\w+)(\\+.*)?}{\$1}}} \

Does this help ?
       
{${sg{$local_part_suffix}{-(bounces|confirm|join|leave|owner|request|admin)(\\+.*)?}{\$1}}}
 \


                     {post}}' \
                     $local_part
 current_directory = MAILMAN_HOME
 home_directory    = MAILMAN_HOME
 user                      = MAILMAN_USER
 group                    = MAILMAN_GROUP


LOG: MAIN
 ** mail...@lists.mydomain.name <mailman-bounces+moses=
xxxxxx....@lists.mydomain.name> R=mailman_router T=mailman_transport:
Tainted arg 1 for mailman_transport transport command: 'bounces'

--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)
--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


--
Andrew C. Aitchison                                     Kendal, UK
                        and...@aitchison.me.uk
--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to