Re: [Exim] helo acl

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Randy Bush
Dátum:  
Címzett: Richard Welty
CC: exim users
Tárgy: Re: [Exim] helo acl
> i've reconsidered that, based on recent/current events. i've now got the
> following attached to the helo acl, i strongly recommend it:
>
> check_helo:
> drop message = HELO/EHLO must contain a Fully Qualified Domain Name
> hosts = !+relay_hosts
> condition = ${if match
> {$sender_helo_name}{\N^[^.].*\.[^.]+$\N}{no}{yes}}
> drop condition = ${if eq{$sender_ident}{squid}{yes}{no}}
> message = we do not accept mail from squid proxies
> drop condition = ${if eq{$sender_ident}{CacheFlow Server}{yes}{no}}
> message = we do not accept mail from CacheFlow Servers
> drop message = host is listed in $dnslist_domain
> dnslists = cbl.abuseat.org : \
> opm.blitzed.org
> accept


# exim -bh 42.666.7.11
LOG: Exim configuration error in line 273:
error in ACL: unknown ACL condition/modifier in "{$sender_helo_name}{\N^[^.].*\.[^.]+$\N}{no}{yes}}"


and, i am having problems getting the acl invoked. e.g., the simple case
i have

    acl_smtp_helo = acl_smtp_helo


up front, and

    begin acl


    acl_smtp_helo:
    drop message = HELO/EHLO must contain a Fully Qualified Domain Name
    hosts = +relay_from_hosts
    condition = ${if match{$sender_helo_name} \
              {\N^[^.].*\.[^.]+$\N} \
             {no}{yes} \
         }


but it is not being invoked