Re: [exim] Tainted arg 2 for mailman_transport transport com…

Góra strony
Delete this message
Reply to this message
Autor: Kirill Miazine
Data:  
Dla: Thomas Krichel via Exim-users
Temat: Re: [exim] Tainted arg 2 for mailman_transport transport command
• Thomas Krichel via Exim-users [2022-07-21 06:58]:
> Kirill Miazine via Exim-users writes
>
> > Again, if my memory serves me right,
>
> It serves you right!
>
> root@siche ~ # /usr/lib/mailman/bin/genaliases
>
> output is stances like
>
> ## nep-fle mailing list
> nep-fle:              "|/var/lib/mailman/mail/mailman post nep-fle"
> nep-fle-admin:        "|/var/lib/mailman/mail/mailman admin nep-fle"
> nep-fle-bounces:      "|/var/lib/mailman/mail/mailman bounces nep-fle"
> nep-fle-confirm:      "|/var/lib/mailman/mail/mailman confirm nep-fle"
> nep-fle-join:         "|/var/lib/mailman/mail/mailman join nep-fle"
> nep-fle-leave:        "|/var/lib/mailman/mail/mailman leave nep-fle"
> nep-fle-owner:        "|/var/lib/mailman/mail/mailman owner nep-fle"
> nep-fle-request:      "|/var/lib/mailman/mail/mailman request nep-fle"
> nep-fle-subscribe:    "|/var/lib/mailman/mail/mailman subscribe nep-fle"
> nep-fle-unsubscribe:  "|/var/lib/mailman/mail/mailman unsubscribe nep-fle"


This is a good start and could go with an (untested) couple of a router
and a transport:

mailman_router:
driver = redirect
domains = ... # <- list of domains for mailman
data = ${lookup{$local_part}lsearch{/path/to/aliases/file}}
pipe_transport = mailman_transport

mailman_transport:
    driver = pipe
    user = ... # <- mailman user name
    group = ... # <- mailman group name


The mailman_router would probably need a way to handle suffixes for
subscriptions and if you're doing VERP.