Re: [exim] Mail to self allowed without restrictions

Etusivu
Poista viesti
Vastaa
Lähettäjä: Odhiambo Washington
Päiväys:  
Vastaanottaja: exim users
Aihe: Re: [exim] Mail to self allowed without restrictions
On Tue, 5 Feb 2019 at 19:02, Sebastian Nielsen via Exim-users <
exim-users@???> wrote:

> in acl_mail (before SPF check):
>
> accept
> authenticated = *
> sender_domains = +local_domains
> set acl_m0 = authorizedrelay
> deny
> message = You can't spoof the domains this server is authorative for
> sender_domains = +local_domains
>
>
> then in acl_data:
> deny
> message = You can't spoof the MIME From this server is authorative for
> condition = ${if match
> {$h_from:}{^(?i).*<.*@(.*YOUR_DOMAIN_HERE>\$}{yes}{no}}
> condition = ${if eq {$acl_m0}{authorizedrelay}{no}{yes}}
>
>

Hi Sebastian,

failed to expand ACL string "${if match {$h_from:}{^(?i).*<.*@(.*
mydomain.com>\$}{yes}{no}}": regular expression error in "^(?i).*<.*@(.*
mydomain.com>$": *missing ) at offset 30*

--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", grep ^[^#] :-)