[exim] Re: pls help with ACL

2024-07-18 Thread Grand Master via Exim-users
Yes, Slavco, everything is correct. I gave a non-working example for understanding Thanks for some valuable comments. I will continue my research and if successful I will report the results пн, 15 июл. 2024 г., 15:38 Slavko via Exim-users : > Dňa 15. júla 2024 7:26:06 UTC používateľ Grand Maste

[exim] Re: pls help with ACL

2024-07-15 Thread Slavko via Exim-users
Dňa 15. júla 2024 7:26:06 UTC používateľ Grand Master via Exim-users napísal: ># condition = ${if >match{${extract{1}{:}{${lookup{$sender_address}lsearch{/usr/local/etc/exim/db/known}{no} >{yes}{no}} lsearch will not work, it is "literaly search", looking of exact key match >##

[exim] Re: pls help with ACL

2024-07-15 Thread Grand Master via Exim-users
warn set acl_c_reverse_address = ${lookup dnsdb{defer_lax,ptr=$sender_host_address}{$value}} # known experiment # warn # domains = !+local_domains # condition = ${if match{${extract{1}{:}{${lookup{$sender_address}lsearch{/usr/local/etc/exim/db/known}{no} {yes}{no}} ## cond

[exim] Re: pls help with ACL

2024-07-13 Thread Ian Z via Exim-users
On Sat, Jul 13, 2024 at 01:02:41PM GMT, Grand Master via Exim-users wrote: > goal is blocking spoofing or avoiding wildcard permissions in > whitelist such as *@company.com You probably want verify = sender in one of your ACLs, and a SPF check. Exim has a native SPF condition for ACLs, but due to

[exim] Re: pls help with ACL

2024-07-13 Thread Grand Master via Exim-users
thanks for replying, Jeremy goal is blocking spoofing or avoiding wildcard permissions in whitelist such as *@company.com in my option i'd like to check simultaneously on two walues: $sender_address and $acl_c_reverse_address сб, 13 июл. 2024 г., 02:41 Jeremy Harris via Exim-users < exim-users@li

[exim] Re: pls help with ACL

2024-07-12 Thread Jeremy Harris via Exim-users
On 12/07/2024 14:46, Grand Master via Exim-users wrote: Tell me, pls, is it possible to create an ACL rule from pairs of templates from a file? Possibly, depending on what these pair have and what you want to do with them. I suggest reading the docs chapters on ACLs and on lookups. -- Cheers,