Re: [exim] problem Tainted permission to file autoreply once

Inizio della pagina
Delete this message
Reply to this message
Autore: Sławomir Dworaczek
Data:  
To: exim-users
Oggetto: Re: [exim] problem Tainted permission to file autoreply once
heloo
Yeah ! maybe not elegant, but it works!,
once     = /var/spool/db/autoreply_${lookup mysql{select localpart from 
users,domains where domain='${quote_mysql:$domain}' and 
localpart='${quote_mysql:$local_part}' and 
users.domain_id=domains.domain_id}}_${lookup mysql{select domain from 
users,domains where domain='${quote_mysql:$domain}' and 
localpart='${quote_mysql:$local_part}' and 
users.domain_id=domains.domain_id}}.db


create file autoreply_username_domain.com.db


thanks for help
regards
Slawek


----- Original Message -----
From: "Jasen Betts" <jasen.betts@???>
To: "Sławomir Dworaczek" <slawek@???>
Sent: Tuesday, September 27, 2022 11:22 AM
Subject: Re: problem Tainted permission to file autoreply once


>
> In gmane.mail.exim.user, you wrote:
>> From: "Jeremy Harris via Exim-users" <exim-users@???>
>> To: <exim-users@???>
>> Sent: Tuesday, September 27, 2022 10:16 AM
>> Subject: Re: [exim] problem Tainted permission to file autoreply once
>>
>>
>>> On 27/09/2022 09:09, Sławomir Dworaczek via Exim-users wrote:
>>>> nowhere else is it like creating a file
>>>
>>> Third paragraph of that reference:
>>> "not permitted (including acessing a file using a tainted name)."
>
>> ok, that's right, just how detainted the record that creates the file for
>> the responed database and should be unique for each user
>> regards
>
> What is a user? If you know that they are a user use the lookup that
> identifies them
> to get an untainted value.
>
>
> --
> Jasen.
>