Re: [exim] Tainted string changes 4.93

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jeremy Harris
Date:  
À: exim-users
Sujet: Re: [exim] Tainted string changes 4.93
On 29/06/2020 04:57, Robert Blayzor via Exim-users wrote:
> The router hitting:
>
> local_aliases:
> driver = redirect
> allow_fail = true
> allow_defer = true


+ local_parts = ${lookup{$local_part}wildlsearch,ret=key{/opt/etc/exim/aliases}

> data = ${expand:${lookup{$local_part}wildlsearch{/opt/etc/exim/aliases}}}
> user = mailnull
> group = mail
> file_transport = address_file
> pipe_transport = address_pipe
>
>
> address_pipe:
> driver = pipe
> path = /usr/local/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin
> return_output
>
>
>


> where our alias file hits:
>
> ^sms\+      "| /bin//smssend -e -c ${sg{$local_part}{^sms.(.*)}{\$1}}"


replace with
 ^sms\+      "| /bin//smssend -e -c ${sg{$local_part_data}{^sms.(.*)}{\$1}}"
-- 
Cheers,
  Jeremy