When one or more email templates are removed or got deleted from the Kerio Connect server and if they are trying to be accessed for sending any automated email/s (that use this template/s), then, below errors are seen in the Kerio Connect logs:
[29/Oct/2020 09:11:29] mail_report.cpp: Cannot open report file 'dsn-delay' in language cs
[29/Oct/2020 09:11:29] mail_report.cpp: Cannot open report file 'dsn-delay' in default
This article provides the resolution for this issue.
Admin (root) access to the Kerio Connect server is required.
If you are trying to send any automated emails that use the file/s mentioned in the error (Eg: dsn-delay in the above example), then the related email templates need to be created on the Kerio Connect server for successful sending of the emails.
Below are the steps to create a template:
Navigate to the Kerio Connect installation folder. The default locations are:
reports/<language_code>folder. For example, if you want to modify the English templates, open the
reports/enfolder, or for German,
reports/de, and so on.
- Create the template file with .rep extension, add the needed content to it and save it with the same name as seen in the error. As per the error mentioned in the above example, the file name in this case will be dsn-delay.rep:
Save the changes.
After the creation of the email template file, the errors will no longer be seen in the logs and the automated emails will be sent as expected with the email template that was created.