Re: [Exim] verify if a domain exist

Pàgina inicial
Delete this message
Reply to this message
Autor: Andreas Metzler
Data:  
A: exim-users
Assumpte: Re: [Exim] verify if a domain exist
On Thu, Oct 23, 2003 at 10:58:09AM -0400, Dominic Germain wrote:
>
> Is there any way to check if a domain exist in a ACL. I already try
> the following :
>
>   drop    sender_domains = !${lookup mysql {SELECT domain FROM domains \
>                            WHERE domain="${sender_address_domain}"}}
>           !verify        = reverse_host_lookup
>           log_message    = ResolveTrap : sender_address=$sender_address
>           message        = Not accepted from $sender_address because
> $sender_address_domain do not resolve.

>
> But "reverse_host_lookup" is to severe, when using that option many
> little companies with their own mail server are blocked because their
> ISP do not setup reverse correctly.
>
> What I want is something that only check if the domain exists.

[...]

Why not a simple "verify = sender"?
               cu andreas