Mike Cardwell wrote:

> smtp_active_hostname = 
> ${lookup{$sender_address_domain}lsearch{/etc/domainips_reverse}{$value}{$primary_hostname}}

Ok, I got the value of smtp_active_hostname wrong as that lookup returns 
an ip instead of the domain, but you get the idea.

Maybe:

smtp_active_hostname = ${if 
eq{$sender_address_domain}{}{$primary_hostname}{$sender_address_domain}}

Or similar?

Mike

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to