To validate the sender address, it is dnslookup. I miunderstood what you
were asking - the email will ultimately be processed by localuser for
delivery.
dnslookup looks like this:
dnslookup:
driver = dnslookup
domains = ! +local_domains : ! +forward_to_domains
transport = remote_smtp
ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 : 192.168.0.0/16 : \
172.16.0.0/12 : 10.0.0.0/8 : 169.254.0.0/16 : \
64.94.110.0/24
no_more
> On Thu, Nov 09, 2006 at 09:23:14AM -0500, Jerry Bell wrote:
>> 09:17:14 1000 --------> dnslookup router <--------
>> 09:17:14 1000 local_part=julie domain=bell-mortgage.net
>> 09:17:14 1000 checking domains
>> 09:17:14 1000 expanding: $domain
>> 09:17:14 1000 result: bell-mortgage.net
>> 09:17:14 1000 expanding: mysql;select domain_name from domain where
>> status="active" and destination = "local" and domain_name
>> ='${quote_mysql:$domain}'
>
> Whereas earlier you wrote:
>
>> Here's the router:
>> localuser:
>> driver = accept
>> domains = ${lookup mysql{select domain_name from domain where
>> domain_name = '$domain'}{$value}fail}
>> condition = ${lookup mysql{select email_address from accounts where
>> email_address = '${quote_mysql:$local_part@$domain}'}{$value}}
>> transport = local_delivery
>
> So what it is, dnslookup or localuser? Are you sure you haven't made a
> mess
> of your router definitions? Which router/transport do you think is meant
> to
> be selected for this address?
>