From 0cbf2addfda4bfc03693516fc262a66d30c15c0e Mon Sep 17 00:00:00 2001 From: "Antoine Vandevenne (anv)" Date: Mon, 26 Oct 2020 07:35:22 +0000 Subject: [PATCH] [FIX] doc: fix link and rendering issues in email gateway page closes odoo/odoo#60755 X-original-commit: f4d3a6b3cf3672a6fa7b67f8a0070b3db21ecb5d Signed-off-by: Antoine Vandevenne (anv) --- doc/setup/email_gateway.rst | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/doc/setup/email_gateway.rst b/doc/setup/email_gateway.rst index 5525296da28..e119baa4eb3 100644 --- a/doc/setup/email_gateway.rst +++ b/doc/setup/email_gateway.rst @@ -8,7 +8,8 @@ The Odoo mail gateway allows you to inject directly all the received emails in O 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. +The script takes care of connecting to your Odoo database through XML-RPC, and send the emails via +the `MailThread.message_process()` feature. Prerequisites ------------- @@ -18,26 +19,31 @@ Prerequisites For Postfix ----------- -In you alias config (/etc/aliases): +In you alias config (:file:`/etc/aliases`): .. code-block:: text - email@address: "|/odoo-directory/addons/mail/static/scripts/odoo-mailgate.py -d -u -p " + email@address: "|/odoo-directory/addons/mail/static/scripts/odoo-mailgate.py -d -u -p " -.. note:: Resources - - `Postfix ` - - `Postfix aliases ` - - `Postfix virtual ` +.. note:: + Resources + + - `Postfix `_ + - `Postfix aliases `_ + - `Postfix virtual `_ For Exim -------- .. code-block:: text - *: |/odoo-directory/addons/mail/static/scripts/odoo-mailgate.py -d -u -p + *: |/odoo-directory/addons/mail/static/scripts/odoo-mailgate.py -d -u -p -.. note:: Resources - - `Exim ` +.. note:: + Resources + - `Exim `_ -.. note:: If you don't have access/manage your email server, use `inbound messages`. +.. tip:: + If you don't have access/manage your email server, use `inbound messages + `_.