Re: [Exim] EXIM 4 | Sender/Callout | Exceptions

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Wakko Warner
Datum:  
To: Clark Stacer
CC: exim-users
Betreff: Re: [Exim] EXIM 4 | Sender/Callout | Exceptions
> Hello All. :)
>
> How can I combine the two working ACL entries (below) to accomplish the
> following?
>
> ACCEPT message (and stop processing ACL)
>     IF the "sender's domain name" is in a list of domains
>     OR
>     IF the "sender's host name/address" is in a list of hosts,
>     ELSE do a sender verification

>
>
> -------------------------------------
> Working ACL entries:
>  deny   sender_domains = !+special_domains
>         !verify        = sender/callout=random/defer_ok

>
>  deny    hosts = !+special_hosts
>         !verify        = sender/callout=random/defer_ok

>


how about:
    accept    hosts = +special_hosts
        domains = +local_domains


    accept    sender_domains = +special_domains
        domains = +local_domains


    deny    !verify = sender/callout=random/defer_ok


the 2 domain above should prevent you from being an open relay. sender
domains can be forged

--
Lab tests show that use of micro$oft causes cancer in lab animals