Does trustedmailhosts accept formats other than IPs? Does it accept hostnames with wildcards like *.host.com?
Does trustedmailhosts accept formats other than IPs? Does it accept hostnames with wildcards like *.host.com?
No.
Per exim.conf:
condition = ${if match_ip{$sender_host_address}{iplsearch;/etc/trustedmailhosts}{1}{0}}
Searching IPs only.