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" <[email protected]>
To: "Sławomir Dworaczek" <[email protected]>
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" <[email protected]>
To: <[email protected]>
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.
--
## 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/