
1/ Revamp of email_servers to be a introduction and allow correct redirection + redirection to other pages linked to mailing + ToC of email_communication folder 2/ Splitting inbound and outbound message into subfiles: 2.a/ email_servers_inbound: all documentation related to incoming emails 2.b/ email_servers_outbound: documentartion related to outgoing emails 3/ email_domain (as before) about authentication protocols to set on domains. 4/ faq: complete revamp to better match usual issues about mailings. Also: removed unused images, adding anchors on other docs. RST co-authored-by: jorv-odoo, jqu-odoo, xpl-odoo doc writers: - email_servers_inbound by qco-odoo - email_servers_outbound by EMBR - email_servers by abridbus - email_domain by jqu-odoo - faq by jorv-odoo related documentation task-3875591 closes odoo/documentation#9935 Signed-off-by: Xavier Platteau (xpl) <xpl@odoo.com>
51 lines
1.3 KiB
ReStructuredText
51 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 do not have access/manage your email server, use :ref:`incoming mail servers
|
|
<email-inbound-custom-domain-incoming-server>`.
|