What does trigger this warning? How to I solve it?
There is only one other thread which mentions this warning. However, the author of that thread had problems to get mail to work at all and the warning was merely a side remark. I have a working mail setup and no other mail-related problems. In my case the warning is the only disturbance.
@nagmat84, the mail app is a recommended app and is installed “automatically” upon first start. if it hasn’t been set up correctly this warning appears.
I am using the mail app since the beginning and it is set up. It rather seems that something has changed between NC 29 and NC 30 which was not handled by the upgrade itself. So, what has changed and how do I fixed that issue?
It seems that this error was related to a wrong values for trusted_domains in config.php. Since I have corrected those, the error hasn’t appeared again.
I’m getting the same error in the log but seemingly only after a Mail App update. I had a look in the trusted domains and it looks OK but perhaps not? Here’s a redacted copy of that section:
I go to Administration → Basic settings and press on “Send email”.
Inspediately there appears text in red highlight “A problem occurred while sending the email. Please revise your settings. (Error: Email could not be sent. Check your mail server log)”
No e-mail is sent and Log reader says:
Level: Warning
Application: mail
Message: itinerary file doesn’t exist
Mail server log does not contain any try to send an e-mail, then has no record about any sending/warning/error. CLI “mail” command works perfectly from console.
I’ve tested by editing file apps/mail/lib/Migration/MakeItineraryExtractorExecutable.php
and replaced line: $this->logger->warning('itinerary file doesn\'t exist');
by: $this->logger->warning('itinerary file doesn\'t exist: '.$this->file);
Then Log reader shows a more concrete message: itinerary file doesn’t exist: /srv/www/dav.MyDomain.net/apps/mail/lib/Migration/…/…/vendor/christophwurst/kitinerary-bin/bin/kitinerary-extractor
I see that referred file really does not exist:
apps/mail/lib/Migration/…/…/vendor/christophwurst/kitinerary-bin/bin/kitinerary-extractor
but a different path yes, that exist located as:
apps/mail/lib/Migration/…/…/vendor/nextcloud/kitinerary-bin/bin/kitinerary-extractor
It seems a bug in “mail” application/extension files definition.