Был exim 4.90 обновился до 4.95 перестали работать роуты
в логах ошибки
aliases:
driver = redirect
headers_add = X-redirected: yes
data = ${extract{1}{:}{${lookup{$local_part@$domain}lsearch{/etc/exim4/domains/$domain/aliases}}}}
require_files = /etc/exim4/domains/$domain/aliases
redirect_router = dnslookup
pipe_transport = address_pipe
unseen
2023-07-27 20:28:43 Tainted filename for search: '/etc/exim4/domains/site.com/aliases'
2023-07-27 20:28:43 H=forward100b.mail.yandex.net [178.154.239.147] X=TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256 CV=no F=<email@yandex.ru> temporarily rejected RCPT <6ad16ede3f3bec87a8e25443d5d156f5@site.com>: failed to expand "${extract{1}{:}{${lookup{$local_part@$domain}lsearch{/etc/exim4/domains/$domain/aliases}}}}": NULL
Гуглеж привел к https://mox.sh/sysadmin/tainted-filename-errors-in-exim-4.94/
Пробовал отключить tainted опцией allow_insecure_tainted_data = yes, но она deprecated в exim 4.95
Пробовал заменить $local_part на $local_part_data
aliases:
driver = redirect
headers_add = X-redirected: yes
data = ${extract{1}{:}{${lookup{$local_part_data@$domain}lsearch{/etc/exim4/domains/$domain/aliases}}}}
require_files = /etc/exim4/domains/$domain/aliases
redirect_router = dnslookup
pipe_transport = address_pipe
unseen
2023-07-27 20:25:37 Tainted filename for search: '/etc/exim4/domains/site.com/aliases'
2023-07-27 20:25:37 H=(site.com) [96.46.181.242] sender verify defer for <noreply@site.com>: failed to expand "${extract{1}{:}{${lookup{$local_part_data@$domain}lsearch{/etc/exim4/domains/$domain/aliases}}}}": NULL
2023-07-27 20:25:37 H=(site.com) [96.46.181.242] F=<noreply@site.com> A=dovecot_plain:noreply@site.com temporarily rejected RCPT <email1812@yandex.ru>: Could not complete sender verify
2023-07-27 20:25:43 no host name found for IP address 96.46.181.242
Куда копать и что делать?
Перемещено hobbit из general