[exim-dev] Re: [Bug 3065] New: local_part_data and domain_da…

Pàgina inicial
Delete this message
Reply to this message
Autor: Andrew C Aitchison
Data:  
A: Exim Bugzilla
CC: david, exim-dev
Assumpte: [exim-dev] Re: [Bug 3065] New: local_part_data and domain_data not set in autoreply transport once option
On Tue, 9 Jan 2024, Exim Bugzilla via Exim-dev wrote:

> https://bugs.exim.org/show_bug.cgi?id=3065
>
>            Bug ID: 3065
>           Summary: local_part_data and domain_data not set in autoreply
>                    transport once option
>           Product: Exim
>           Version: 4.97
>          Hardware: All
>                OS: All
>            Status: NEW
>          Severity: bug
>          Priority: medium
>         Component: Transports
>          Assignee: unallocated@???
>          Reporter: david@???
>                CC: exim-dev@???

>
> This worked before tainted variables:
>
> vacation_transport:
> driver = autoreply
> from = $local_part@$domain
> once = /var/spool/exim/db/$local_part@$domain.vacation
>
> now it complains:
>
> Permission denied: Tainted '/var/spool/exim/db/joe@???' (once file
> for vacation_transport transport) not permitted
>
> Changing it to:
>
> vacation_transport:
> driver = autoreply
> from = $local_part@$domain
> once = /var/spool/exim/db/$local_part_data@$domain.vacation
>
> Produces:
>
> Permission denied: Tainted '/var/spool/exim/db/@???' (once file
> for vacation_transport transport) not permitted
>
> Changing it to:
>
> vacation_transport:
> driver = autoreply
> from = $local_part@$domain
> once = /var/spool/exim/db/$local_part@$domain._data.vacation


Is the dot in $domain._data in the config, or just this email ?

I think you want
    once = /var/spool/exim/db/$local_part_data@$domain_data.vacation


I have forgetten the rules for when these _data variables
are safely crested, do this may not be sufficient.

> Produces:
>
> Permission denied: Tainted '/var/spool/exim/db/joe@???' (once file for
> vacation_transport transport) not permitted



-- 
Andrew C. Aitchison                      Kendal, UK
                    andrew@???


--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-dev.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-dev-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/