
Creation of a new submenu under Applications/General for the Email communication. Moved advanced of dicuss to this new submenu + adding of content regarding frequently asked question in support. Redirection has been done on other files pointing to Discuss/Advanced to match the new folder email_communication. Modified content in: - Email servers: split and move configuration part under email_domain - Email domain: covering information about SPF DKIM and DMARC configurations by JQU - Email templates: (how to use the functions) by GOR - Email common: answering frequently asked questions + common issues by ALA closes odoo/documentation#1092 Signed-off-by: Vergote Baptiste (bve) <bve@odoo.com>
48 lines
1.3 KiB
ReStructuredText
48 lines
1.3 KiB
ReStructuredText
=============
|
|
Email gateway
|
|
=============
|
|
|
|
The Odoo mail gateway allows you to inject directly all the received emails in Odoo.
|
|
|
|
Its principle is straightforward: your SMTP server executes the "mailgate" script for every new incoming email.
|
|
|
|
The script takes care of connecting to your Odoo database through XML-RPC, and send the emails via
|
|
the `MailThread.message_process()` feature.
|
|
|
|
Prerequisites
|
|
-------------
|
|
- Administrator access to the Odoo database.
|
|
- Your own mail server such as Postfix or Exim.
|
|
- Technical knowledge on how to configure an email server.
|
|
|
|
For Postfix
|
|
-----------
|
|
In you alias config (:file:`/etc/aliases`):
|
|
|
|
.. code-block:: text
|
|
|
|
email@address: "|/odoo-directory/addons/mail/static/scripts/odoo-mailgate.py -d <database-name> -u <userid> -p <password>"
|
|
|
|
.. note::
|
|
Resources
|
|
|
|
- `Postfix <http://www.postfix.org/documentation.html>`_
|
|
- `Postfix aliases <http://www.postfix.org/aliases.5.html>`_
|
|
- `Postfix virtual <http://www.postfix.org/virtual.8.html>`_
|
|
|
|
|
|
For Exim
|
|
--------
|
|
.. code-block:: text
|
|
|
|
*: |/odoo-directory/addons/mail/static/scripts/odoo-mailgate.py -d <database-name> -u <userid> -p <password>
|
|
|
|
.. note::
|
|
Resources
|
|
|
|
- `Exim <https://www.exim.org/docs.html>`_
|
|
|
|
.. tip::
|
|
If you don't have access/manage your email server, use :ref:`inbound messages
|
|
<email_communication/inbound_messages>`.
|