更新后出口路由器不工作用于搜索的受污染文件名

问题描述

我将我的 exim 版本从 4.92 更新到 4.94。

我尝试向测试域发送电子邮件并看到此错误

2021-05-11 13:33:47 1lgVKM-0001dB-2z <= emawata@gmail.com H=mail-qk1-f170.google.com [209.85.222.170] P=esmtps X=TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128 CV=no K S=3515 id=CAGUDtn=vYmu9=GmjZ=+h3Y6HaEjDTv-GtXFuaW6=YVq_E3OXyA@mail.gmail.com
2021-05-11 13:33:47 1lgVKM-0001dB-2z Tainted filename for search: '/opt/exim/valiases/dominioprueba1.tk'
2021-05-11 13:33:47 1lgVKM-0001dB-2z == no-reply@dominioprueba1.tk R=virtual_aliases_nostar defer (-1): Failed to expand "${if exists{/opt/exim/valiases/$domain}{${lookup{$local_part@$domain}lsearch{/opt/exim/valiases/$domain}}}}": NULL

我已阅读新版本的更改,我必须使用变量 $ local_part_data 和 $ domain_data 但我不明白如何将其调整到我的路由器中。

谁能帮我适配下面的路由器为例

virtual_aliases_nostar:
  driver = redirect
  allow_defer
  allow_fail
  data = ${if exists{/opt/exim/valiases/$domain}{${lookup{$local_part@$domain}lsearch{/opt/exim/valiases/$domain}}}}..
  file_transport = address_file
  group = exim
  pipe_transport = virtual_address_pipe
  retry_use_local_part
  domains = lsearch;/opt/exim/localdomains
  unseen

问候,

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)