[exim] Domain list safety?

2025-03-01 Thread MRob via Exim-users
For domain list like my example: sender_domains = *example.com : *example.net The manual saying it compares the end of the domain, so I think this'll match: example.com test.example.com Problem it will also match: bad-guyexample.com How can domain list safe only list example.com and subdom

[exim] Re: Show regex capture group in logs?

2023-05-16 Thread MRob via Exim-users
On 2023-05-16 20:08, Andrew C Aitchison via Exim-users wrote: On Tue, 16 May 2023, MRob via Exim-users wrote: Hi, I want to capture part of a regex match (capture group) to put in logs. This example using subject header works but is there a better way? warn set acl_c_temp = ${if match

[exim] Re: Show regex capture group in logs?

2023-05-16 Thread MRob via Exim-users
On 2023-05-16 20:05, Slavko via Exim-users wrote: Dňa 16. mája 2023 19:36:00 UTC používateľ MRob via Exim-users napísal: Hi, I want to capture part of a regex match (capture group) to put in logs. This example using subject header works but is there a better way? warn set acl_c_temp = ${if

[exim] Show regex capture group in logs?

2023-05-16 Thread MRob via Exim-users
Hi, I want to capture part of a regex match (capture group) to put in logs. This example using subject header works but is there a better way? warn set acl_c_temp = ${if match{$h_Subject:}{group>}{$1}{none}} !condition = ${if eq{$acl_c_temp}{none}} logwrite = Notice: subject match is:

[exim] Re: Different ACL Condition Combinations

2023-05-16 Thread MRob via Exim-users
On 2023-05-16 12:28, Slavko via Exim-users wrote: Dňa 16. mája 2023 11:58:36 UTC používateľ MRob via Exim-users napísal: warn condition = ${if {${if }}fail} Beware, this one differs from previous two by forced fail of the first condition. from docs: if the expansion is forced to

[exim] Different ACL Condition Combinations

2023-05-16 Thread MRob via Exim-users
I think one combine boolean conditions sevral ways. Are these all same? Is there performance reasons or functional reason to choose which one--- or is it no different, only choose for readability? warn condition = ${if } condition = ${if } warn condition = ${if and {{}{}}} wa