Fetchmail Notify Error to Sender

fetchmail_notify_error_to_sender
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/18.0/fetchmail_notify_error_to_sender
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow, Agile Business Group
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow, Agile Business Group
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Anjeel Haria
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:08
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
If fetchmail is not able to correctly route an email, the email is
"silently" lost (you get an error message in server log).

For example, if you configure odoo mail system to route received emails
according to recipient address, it may happen users send emails to wrong
email address.

This module extends the functionality of fetchmail to allow you to
automatically send a notification email to sender, when odoo can't
correctly process the received email.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_email_server_form fetchmail.server.form fetchmail.server field Inherits mail.view_email_server_form
Models touched (2)

New fields (1)
  • error_notice_template_id Many2one → mail.template
    help='Set here the template to use to send notice to sender when errors occur while fetching email' string='Error notice template' args: 'mail.template'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • message_route(self, message, message_dict, model=None, thread_id=None, custom_values=None)
    @api.model
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/17.0/fetchmail_notify_error_to_sender
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow, Agile Business Group
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow, Agile Business Group
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, BT-cjimeno
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
If fetchmail is not able to correctly route an email, the email is
"silently" lost (you get an error message in server log).

For example, if you configure odoo mail system to route received emails
according to recipient address, it may happen users send emails to wrong
email address.

This module extends the functionality of fetchmail to allow you to
automatically send a notification email to sender, when odoo can't
correctly process the received email.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_email_server_form fetchmail.server.form fetchmail.server field Inherits mail.view_email_server_form
Models touched (2)

New fields (1)
  • error_notice_template_id Many2one → mail.template
    help='Set here the template to use to send notice to sender when errors occur while fetching email' string='Error notice template' args: 'mail.template'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • message_route(self, message, message_dict, model=None, thread_id=None, custom_values=None)
    @api.model
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/16.0/fetchmail_notify_error_to_sender
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow, Agile Business Group
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow, Agile Business Group
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Kaynnan Lemes
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:53
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_email_server_form fetchmail.server.form fetchmail.server field Inherits mail.view_email_server_form
Models touched (2)

New fields (1)
  • error_notice_template_id Many2one → mail.template
    help='Set here the template to use to send notice to sender when errors occur while fetching email' string='Error notice template' args: 'mail.template'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • message_route(self, message, message_dict, model=None, thread_id=None, custom_values=None)
    @api.model
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/15.0/fetchmail_notify_error_to_sender
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow, Agile Business Group
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow, Agile Business Group
COMMITTERS
COMMITTERSOCA Transbot, Miquel Raïch, Weblate, OCA-git-bot, oca-ci, Jasmin Solanki
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:39
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - fetchmail
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_email_server_form fetchmail.server.form fetchmail.server field Inherits fetchmail.view_email_server_form
Models touched (2)

New fields (1)
  • error_notice_template_id Many2one → mail.template
    help='Set here the template to use to send notice to sender when errors occur while fetching email' string='Error notice template' args: 'mail.template'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • message_route(self, message, message_dict, model=None, thread_id=None, custom_values=None)
    @api.model
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/14.0/fetchmail_notify_error_to_sender
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow, Agile Business Group
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow, Agile Business Group
COMMITTERS
COMMITTERSOCA Transbot, oca-travis, Weblate, OCA-git-bot, hkapatel
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:06
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - fetchmail
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_email_server_form fetchmail.server.form fetchmail.server field Inherits fetchmail.view_email_server_form
Models touched (2)

New fields (1)
  • error_notice_template_id Many2one → mail.template
    help='Set here the template to use to send notice to sender when errors occur while fetching email' string='Error notice template' args: 'mail.template'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • message_route(self, message, message_dict, model=None, thread_id=None, custom_values=None)
    @api.model
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/13.0/fetchmail_notify_error_to_sender
VERSION
VERSION 2.0.1
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow, Agile Business Group
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow, Agile Business Group
COMMITTERS
COMMITTERSStefan Rijnhart, mreficent, AaronHForgeFlow, oca-travis, Weblate, OCA-git-bot, Denis, Denis Valenchyts
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:17
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - fetchmail
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_email_server_form fetchmail.server.form fetchmail.server field Inherits fetchmail.view_email_server_form
Models touched (2)

New fields (1)
  • error_notice_template_id Many2one → mail.template
    help='Set here the template to use to send notice to sender when errors occur while fetching email' string='Error notice template' args: 'mail.template'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • message_route(self, message, message_dict, model=None, thread_id=None, custom_values=None)
    @api.model
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/12.0/fetchmail_notify_error_to_sender
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eficent, Agile Business Group
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent, Agile Business Group
COMMITTERS
COMMITTERSmreficent, OCA Transbot, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:22
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - fetchmail
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
    - test_mail
    - test_performance
    - mail_bot
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_email_server_form fetchmail.server.form fetchmail.server field Inherits fetchmail.view_email_server_form
Models touched (2)

New fields (1)
  • error_notice_template_id Many2one → mail.template
    help='Set here the template to use to send notice to sender when errors occur while fetching email' string='Error notice template' args: 'mail.template'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • message_route(self, message, message_dict, model=None, thread_id=None, custom_values=None)
    @api.model
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/11.0/fetchmail_notify_error_to_sender
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eficent, Agile Business Group
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent, Agile Business Group
COMMITTERS
COMMITTERSPedro M. Baeza, oca-travis, Weblate, OCA-git-bot, OCA Git Bot
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:24:00
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - fetchmail
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_email_server_form fetchmail.server.form fetchmail.server field Inherits fetchmail.view_email_server_form
Models touched (2)

New fields (1)
  • error_notice_template_id Many2one → mail.template
    help='Set here the template to use to send notice to sender when errors occur while fetching email' string='Error notice template' args: 'mail.template'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • message_route(self, message, message_dict, model=None, thread_id=None, custom_values=None)
    @api.model
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/10.0/fetchmail_notify_error_to_sender
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eficent, Agile Business Group
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent, Agile Business Group
COMMITTERS
COMMITTERSPedro M. Baeza, mreficent, OCA Transbot, oca-travis, Weblate
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:20:00
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - fetchmail
    - mail
    - base
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_email_server_form fetchmail.server.form fetchmail.server field Inherits fetchmail.view_email_server_form
Models touched (2)

New fields (1)
  • error_notice_template_id Many2one → mail.template
    help='Set here the template to use to send notice to sender when errors occur while fetching email' string='Error notice template' args: 'mail.template'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • message_route(self, message, message_dict, model=None, thread_id=None, custom_values=None)
    @api.model
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/9.0/fetchmail_notify_error_to_sender
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eficent, Agile Business Group
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent, Agile Business Group
COMMITTERS
COMMITTERSPedro M. Baeza, mreficent, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, Weblate
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:23
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - fetchmail
    - mail
    - base
    - base_setup
    - web_kanban
    - web
    - bus
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_email_server_form fetchmail.server.form fetchmail.server field Inherits fetchmail.view_email_server_form
Models touched (2)

New fields (1)
  • error_notice_template_id Many2one → mail.template
    help='Set here the template to use to send notice to sender when errors occur while fetching email' string='Error notice template' args: 'mail.template'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • message_route(self, message, message_dict, model=None, thread_id=None, custom_values=None)
    @api.model
  • message_route_verify(self, message, message_dict, route, update_author=True, assert_model=True, create_fallback=True, allow_private=False)
    @api.model
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/8.0/fetchmail_notify_error_to_sender
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group
COMMITTERS
COMMITTERSStéphane Bidoul, eLBati, Pedro M. Baeza, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, Weblate
WEBSITE
WEBSITEhttp://www.agilebg.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:25
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - fetchmail
    - mail
    - base
    - base_setup
    - web_kanban
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_email_server_form fetchmail.server.form fetchmail.server xpath Inherits fetchmail.view_email_server_form
Models touched (2)

New fields (1)
  • error_notice_template_id Many2one → email.template
    help='Set here the template to use to send notice to sender when errors occur while fetching email' string='Error notice template' args: 'email.template'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • message_route(self, cr, uid, message, message_dict, model=None, thread_id=None, custom_values=None, context=None)
  • message_route_verify(self, cr, uid, message, message_dict, route, update_author=True, assert_model=True, create_fallback=True, allow_private=False, context=None)