We have updated Zammad 5.3.1 to the current latest 5.4.1 on Ubuntu 20 LTS.
No we face the error while sending mails. For incoming mails we use O365, for outgoing mails (notifications) we use normal mail (smtp) with an office365 account.
We can configure it normally, the testmail is send and the dialog saves the settings normally. Then, after a minute, we reveive this error message:
Can’t use Channel::Driver::Smtp: #<NameError: undefined local variable or method `logger’ for Channel::EmailBuild:Module logger.error e ^^^^^^>
Sending by smtp for the account is enabled and works. I assume there is something else which causes the problem.
I found the same message also in the production log:
E, [2023-04-25T08:19:06.505413#842-112340] ERROR – : undefined local variable or method
logger' for Channel::EmailBuild:Module E, [2023-04-25T08:19:06.560404#842-112340] ERROR -- : Can't use Channel::Driver::Smtp: #<NameError: undefined local variable or method logger’ for Channel::EmailBuild:Module
I have also searched for this error message, but the infos seem to be very old. One hint i had found was reindexing the search, which i had started and has also finished without any errors.
Finally i restarted the zammad service, but the error remains.
Any suggestions or hints i can follow up?