Re: [exim] Help to logical OR two conditions

2020-10-07 Thread Evgeniy Berdnikov via Exim-users
On Wed, Oct 07, 2020 at 09:30:38AM -0700, Ian Zimmerman via Exim-users wrote: > On 2020-10-07 10:33, Victor Sudakov wrote: > > > > However, look & feel of Exim's API leaves much to be desired... I > > > would prefer C/Perl style (without numerous {}), which does not > > > require

Re: [exim] Sieve filter not working properly anymore, how to debug?

2020-10-07 Thread Yves Goergen via Exim-users
Thanks for the pointer. I also found other interesting command line options like the filter test. It also needed the -v or -d option together with -bf to actually see the promised result. And that looked all good. So I went on and tried to test the filter loaded the regular way from the

Re: [exim] Help to logical OR two conditions

2020-10-07 Thread Ian Zimmerman via Exim-users
On 2020-10-07 10:33, Victor Sudakov wrote: > > However, look & feel of Exim's API leaves much to be desired... I > > would prefer C/Perl style (without numerous {}), which does not > > require syntax-highlighting editor to be managed even for simple > > expressions. Say, || instead of > >

Re: [exim] Sieve filter not working properly anymore, how to debug?

2020-10-07 Thread Ian Zimmerman via Exim-users
On 2020-10-07 15:14, Yves Goergen wrote: > I'm setting up a new mail server with Exim and try to get the Sieve > filter working as it does on another server. But it doesn't. And I > don't know why. > > Here's a sieve script for demo@test.local: > > if header :contains ["Subject"] "Newsletter" {

Re: [exim] Sieve filter not working properly anymore, how to debug?

2020-10-07 Thread Jeremy Harris via Exim-users
On 07/10/2020 15:56, Yves Goergen via Exim-users wrote: > I don't know what "tainting" means http://exim.org/exim-html-current/doc/html/spec_html/ch-string_expansions.html Third paragraph. -- Cheers, Jeremy -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim

Re: [exim] Sieve filter not working properly anymore, how to debug?

2020-10-07 Thread Yves Goergen via Exim-users
I don't know what "tainting" means and an English dictionary lookup didn't make it more plausible. But as you're referring to the 'quote_pgsql' function I guess you mean escaping of SQL query parameters. This certainly does not cause issues here because the local part is "demo" or "demo2" in

Re: [exim] Sieve filter not working properly anymore, how to debug?

2020-10-07 Thread Andrew C Aitchison via Exim-users
On Wed, 7 Oct 2020, Yves Goergen via Exim-users wrote: Hello, I'm setting up a new mail server with Exim and try to get the Sieve filter working as it does on another server. But it doesn't. And I don't know why. The Exim version is 4.93 on Ubuntu Linux 20.04. This is a part of my Exim

Re: [exim] Sieve filter not working properly anymore, how to debug?

2020-10-07 Thread Jeremy Harris via Exim-users
On 07/10/2020 14:14, Yves Goergen via Exim-users wrote: > How can I debug [...] Sieve filter in Exim? I thought that the Command line "-d" facilities. Depending how you are submitting a test message, you may need to run your daemon in foreground mode.

[exim] Sieve filter not working properly anymore, how to debug?

2020-10-07 Thread Yves Goergen via Exim-users
Hello, I'm setting up a new mail server with Exim and try to get the Sieve filter working as it does on another server. But it doesn't. And I don't know why. Here's a sieve script for demo@test.local: if header :contains ["Subject"] "Newsletter" { redirect "demo2@test.local"; } I'm

Re: [exim] Help to logical OR two conditions

2020-10-07 Thread Graeme Fowler via Exim-users
On 7 Oct 2020, at 04:33, Victor Sudakov via Exim-users wrote: > Well, maybe after Sendmail has become irrelevant, we still need > something to be very tricky? Wearing my admin and occasional contributor hat, this is the point at which I can hear both Jeremy and Phil quietly saying "code