I just set up Odoo 19 with docker, configured the alias domain and added an incoming mail server. When I try to send a mail to an Odoo user I get this message in the log:
ValueError: No possible route found for incoming message from "Sender" <any@where.com> to user@recipient.domain (Message-Id <#####>:). Create an appropriate mail.alias or force the destination model.
The documentation doesn't give any hint on how to set this up. They are only writing about aliases for groups/teams. But no word about how to communicate with single Odoo users.
What is missing in the config? The software should have all the info it needs.
Thanks and greetings!
Z
Thanks for the answer!
After creating an alias the log entries have changed, but I still don't see a new discussion channel after receiving the mail.
2026-03-02 15:32:48,846 1 INFO Company odoo.addons.mail.models.mail_thread: Routing mail from "Sender" <any@where.com> to user@domain.com with Message-Id <#####>: direct alias match: ('discuss.channel', 0, {}, 1, mail.alias(6,))
2026-03-02 15:32:48,856 1 INFO Company odoo.addons.mail.models.mail_thread: Primary email missing on discuss.channel
Many greetings!
Z