On Fri, May 6, 2022 at 8:05 PM Andrew C Aitchison <andrew@???>
wrote:
> On Fri, 6 May 2022, Odhiambo Washington via Exim-users wrote:
>
> > I must admit I have zero clue how to detaint this:
> >
> > LOG: MAIN
> > ** mailman@??? <mailman-bounces+moses=
> > XXXXXX.org@???> 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}}}
> \
>
Hi Andrew,
Assuming that the final transport modified with your suggestion would be:
mailman_transport:
driver = pipe
command = MAILMAN_WRAP \
'${if def:local_part_suffix \
{${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
Then I must say it does not alleviate the problem. The error still remains
the same.
--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)