[exim] Problem with lookup an alias for a domain

Página Inicial
Delete this message
Reply to this message
Autor: Fabio Martins
Data:  
Para: exim-users
Assunto: [exim] Problem with lookup an alias for a domain

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 support@??? --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 support@???
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 support@??? (1)
31068 LOG: MAIN
31068   == support@??? 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/