Hi list,

I have a working exim 4.89 setup on Linux with alias lookup. The same
setup is not working with 4.94 on OpenBSD.

Did something changed between versions, that I am not aware of?

working setup:

system_aliases:
  driver = redirect
  allow_fail
  allow_defer
  data = ${lookup{$local_part}lsearch*@{/etc/exim4/aliases.d/$domain}}
  file_transport = address_file
  pipe_transport = address_pipe

root@localhost:/etc/exim4# cat /etc/exim4/aliases.d/DOMAIN001.com
trap1: trap1
noreply: trap1
1; trap1
*:support


setup with error:


Using exim 4.94 on OpenBSD, I am geting this error:


$ swaks --to [email protected] --server 127.0.0.1


# sudo -u _exim /usr/local/bin/exim -bd -d -v -C /etc/exim/configure

(...stripped...)

31068 --------> dnslookup router <--------     [46/1988]
31068 local_part=support domain=DOMAIN001.COM
31068 checking domains
31068 DOMAIN001.COM in
"DOMAIN001.COM:DOMAIN002.COM:DOMAIN003.COM:DOMAIN004.COM"? yes (matched
"DOMAIN001.COM")
31068 data from lookup saved for cache for +local_domains: key
'DOMAIN001.COM' value 'DOMAIN001.COM'
31068 DOMAIN001.COM in "! +local_domains"? no (matched "! +local_domains")
31068 dnslookup router skipped: domains mismatch
31068 --------> system_aliases router <--------
31068 local_part=support domain=DOMAIN001.COM
31068 calling system_aliases router
31068 rda_interpret (string):
'${lookup{$local_part}lsearch*@{/etc/exim/aliases.d/$domain}}'
31068 LOG: MAIN PANIC
31068   Tainted filename for search: '/etc/exim/aliases.d/DOMAIN001.COM'
31068 system_aliases router: defer for [email protected]
31068   message: failed to expand
"${lookup{$local_part}lsearch*@{/etc/exim/aliases.d/$domain}}": NULL
31068 added retry item for R:DOMAIN001.COM: errno=-1 more_errno=0 flags=0
31068 post-process [email protected] (1)
31068 LOG: MAIN
31068   == [email protected] R=system_aliases defer (-1): failed to
expand "${lookup{$local_part}lsearch*@{/etc/exim/aliases.d/$domain}}":
NULL
31068 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
31068 After routing:
31068   Local deliveries:
31068   Remote deliveries:



Regards,

--
Fabio Martins
PHOSPHORUS NETWORKS
https://phosphorusnetworks.com/



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

Reply via email to