RE: [Exim] No verify sender callout for whitelisted hosts

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Rick Cooper
Fecha:  
A: Exim Users List
Asunto: RE: [Exim] No verify sender callout for whitelisted hosts
You have to tell exim it's a named list (spec 10.5)
try accept hosts = +WHITELIST_HOSTS_FILE

> -----Original Message-----
> From: exim-users-admin@??? [mailto:exim-users-admin@exim.org]On
> Behalf Of Jez Hancock
> Sent: Wednesday, August 27, 2003 7:10 AM
> To: Exim Users List
> Subject: [Exim] No verify sender callout for whitelisted hosts
>
>
> Hi all,
>
> I'm trying to stop Exim from performing sender verify callouts on hosts
> that appear in a file containing whitelisted domains. For some reason
> the ACL refuses to accept the whitelisted hosts even though I can see
> them blatantly passed over by Exim in debug output.
>
> My config has the following:
> ---
> # Whitelisted hosts:
> WHITELIST_HOSTS_FILE    = /etc/mail/whitelist_hosts
> <snip>
> begin acl

>
> acl_check_rcpt:
> # Accept local SMTP:
> accept hosts = :
>
>   # Deny badly formed local_parts:
>   deny    local_parts   = ^.*[@%!/|] : ^\\.

>
>   # Accept postmasters in local_domains:
>   accept  local_parts   = postmaster
>           domains       = +local_domains

>
> # Accept whitelisted hosts:
> accept hosts = WHITELIST_HOSTS_FILE
> ---
> and the whitelist file /etc/mail/whitelist_hosts contains:
>
> tinysoftware.com
>
> amongst others, one domain per line.
>
> When I execute 'exim -bhc 64.165.37.226' I see:
>
> 220 munk.nu ESMTP Exim 4.22 Wed, 27 Aug 2003 13:03:47 +0100
> ehlo tinysoftware.com
> <snip>
> mail from:nobody@???
> 250 OK
> rcpt to:munk@???
> <snip>
> >>> processing "accept"
> >>> check hosts = /etc/mail/whitelist_hosts
> <snip>
> >>> gethostbyname2 looked up these IP addresses:
> >>> name=tinysoftware.com address=198.64.137.209
> >>> host in "/etc/mail/whitelist_hosts"? no (end of list)
> >>> accept: condition test failed
>
> Why is the ACL whitelist condition failing here when Exim appears to
> see the whitelisted host in the whitelist host file?
>
> --
> Jez
>
> http://www.munk.nu/
>
> --
>
> ## List details at
> http://www.exim.org/mailman/listinfo/exim-users Exim details at

http://www.exim.org/ ##


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.