Thanks for clarification, I assumed accidental leftover from old times. For anyone using pophosts feature - the feature is removed in
1.646 release. DA 1.646 will not update this file anymore.
My Exim still seems to want the /etc/virtual/pophosts file to exist, and it breaks when the file is deleted (will not accept emails coming in by SMTP). Apparently DA auto-updated itself this night:
A new message or response with subject:
DirectAdmin has been updated to v1.646 hotfix
This happened at 03:29 and I assume it deleted the /etc/virtual/pophosts file in the middle of the night, breaking inbound mail acceptance:
exim paniclog /var/log/exim/paniclog on XXX has non-zero size, mail system might be broken. The last 10 lines are quoted below.
2023-01-30 04:07:55 failed to open /etc/virtual/pophosts for linear search: No such file or directory
2023-01-30 04:18:18 failed to open /etc/virtual/pophosts for linear search: No such file or directory
2023-01-30 04:21:19 failed to open /etc/virtual/pophosts for linear search: No such file or directory
2023-01-30 05:28:14 failed to open /etc/virtual/pophosts for linear search: No such file or directory
2023-01-30 05:47:51 failed to open /etc/virtual/pophosts for linear search: No such file or directory
This seems a bit strange because I don't want auto-updates and don't have them enabled:
# /usr/local/directadmin/directadmin config-get autoupdate
0
I did a "/usr/local/directadmin/custombuild/build all" so I should have the newest Exim. It seems a DA autoupdate (while I have this disabled) deletes the pophosts file. As a hack, I now have a cronjob to put an empty file there. Is there a change that we manually have to make to Exim config?