Re: [exim] Sieve filters broken due to tainted expansions?

2020-01-08 Thread Jeremy Harris via Exim-users
On 08/01/2020 12:59, Jeremy Harris via Exim-users wrote: > I'll be trying to invent some verbiage for bits of the docs to > guide people away from using $local_part directly... Some words committed as cf8b2c5789, should anyone have further suggestions. -- Cheers, Jeremy -- ## List details at

Re: [exim] Preserve certain headers, drop the rest

2020-01-08 Thread Evgeniy Berdnikov via Exim-users
On Wed, Jan 08, 2020 at 01:08:06PM +, Jeremy Harris via Exim-users wrote: > On 07/01/2020 21:13, Rigu Cucu via Exim-users wrote: > > We relay emails from various remote locations (which are using various mail > > setups). It is impossible to anticipate the variety of headers each > >

Re: [exim] Sieve filters broken due to tainted expansions?

2020-01-08 Thread Andrew C Aitchison via Exim-users
On Tue, 7 Jan 2020, Tobias Klausmann via Exim-users wrote: Hey, I'm running exim in this configuration: 17:28:39 64561 Exim version 4.93.0.3 uid=0 gid=0 pid=64561 D=fff9 Support for: crypteq iconv() IPv6 PAM Perl TCPwrappers OpenSSL Content_Scanning DANE DKIM DNSSEC Event I18N OCSP PRDR

Re: [exim] Sieve filters broken due to tainted expansions?

2020-01-08 Thread Tobias Klausmann via Exim-users
Hi! On Wed, 08 Jan 2020, Andrew C Aitchison via Exim-users wrote: > I see from your latest message that > /home/$local_part/... is tainted. > Would using $home - and check_local_user to set it - do what you need ? Indeed that seems to work. I change the earlier config thus: $ diff

Re: [exim] Sieve filters broken due to tainted expansions?

2020-01-08 Thread Jeremy Harris via Exim-users
On 08/01/2020 11:39, Tobias Klausmann via Exim-users wrote: > Yeah, you're right. I presume I need no extra steps for $home > being defined in the context of the transports? In http://exim.org/exim-html-current/doc/html/spec_html/ch-generic_options_for_routers.html on "check_local_user" :- "If

Re: [exim] Sieve filters broken due to tainted expansions?

2020-01-08 Thread Andrew C Aitchison via Exim-users
On Wed, 8 Jan 2020, Tobias Klausmann via Exim-users wrote: Hi! On Wed, 08 Jan 2020, Andrew C Aitchison via Exim-users wrote: I see from your latest message that /home/$local_part/... is tainted. Would using $home - and check_local_user to set it - do what you need ? Indeed that

[exim] Preserve certain headers, drop the rest

2020-01-08 Thread Rigu Cucu via Exim-users
Hi, I cannot find the option to keep a given set of headers and drop the rest, similar to what is available in Postfix for instance (with the header_checks). We relay emails from various remote locations (which are using various mail setups). It is impossible to anticipate the variety of

Re: [exim] Sieve filters broken due to tainted expansions?

2020-01-08 Thread Andrew C Aitchison via Exim-users
On Wed, 8 Jan 2020, Tobias Klausmann via Exim-users wrote: Hi! On Wed, 08 Jan 2020, Andrew C Aitchison wrote: On Wed, 8 Jan 2020, Tobias Klausmann via Exim-users wrote: user=$local_part verify=false transport = local_delivery If you have check_local_user you shouldn't need

Re: [exim] Preserve certain headers, drop the rest

2020-01-08 Thread Jeremy Harris via Exim-users
On 07/01/2020 21:13, Rigu Cucu via Exim-users wrote: > We relay emails from various remote locations (which are using various mail > setups). It is impossible to anticipate the variety of headers each > individual MTA has added (custom x-headers and such) and we need a clear and > consistent

Re: [exim] Sieve filters broken due to tainted expansions?

2020-01-08 Thread Tobias Klausmann via Exim-users
Hi! On Wed, 08 Jan 2020, Andrew C Aitchison wrote: > On Wed, 8 Jan 2020, Tobias Klausmann via Exim-users wrote: > > user=$local_part > > verify=false > > transport = local_delivery > > If you have check_local_user you shouldn't need user=$local_part as well. Ah, good point, thanks.