Scenario: We’ve an email alias (helpdesk-alias@example.com
) mapped to a Helpdesk team, so every new mail will create a new ticket.
Check logs in real time:
tail -f /var/log/odoo/odoo.log | grep -A6 "start checking for new emails on imap server *"
Succesful result:
2023-09-04 12:07:16,498 2076184 INFO odoo odoo.addons.fetchmail.models.fetchmail: start checking for new emails on imap server Test inbound
2023-09-04 12:07:17,009 2076184 INFO odoo odoo.addons.mail.models.mail_thread: Routing mail from "Name" <user@example.com> to helpdesk-alias@example.com,real-address@example.com with Message-Id <7d87c4b5-542c-99af-3d28-e4732d8dd389@example.com>: direct alias match: ('helpdesk.ticket', 0, {'team_id': 1}, 31, mail.alias(104,))
2023-09-04 12:07:17,168 2076184 INFO odoo odoo.addons.fetchmail.models.fetchmail: Fetched 1 email(s) on imap server Test inbound; 1 succeeded, 0 failed.