Skip to content

Commit 2a01b21

Browse files
std-odooFeyensv
authored andcommitted
[IMP] mail: add documentation about the SSL SMTP authentication
Purpose ======= Add the documentation about the SSL SMTP authentication (2 new binary arguments) and also about the new from filter binary argument. The goal of those new arguments is to improve the score of the emails sent by Odoo. Task 2367946 See odoo/odoo/pull/61853 See odoo/upgrade/pull/1903 closes #973 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
1 parent 68e53ff commit 2a01b21

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

content/developer/cli.rst

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -292,9 +292,11 @@ Emails
292292

293293
.. option:: --from-filter <address or domain>
294294

295-
Email address or domain that the mail server is configured for. If the
296-
email of the sender does not match this value, it might be encapsulated
297-
into ``mail.default.from``.
295+
Define which email address the SMTP configuration will apply to. The field can be a domain name
296+
or an entire email address, or it can remain empty. If the sender's email address does not
297+
match this set filter, then the email will be encapsulated using a combination of the two
298+
system parameters: ``mail.default.from`` and ``mail.catchall.domain``. For example, "Admin"
299+
<admin\@example.com> => "Admin" <notifications\@mycompany.com>.
298300

299301
.. option:: --smtp <server>
300302

@@ -316,11 +318,12 @@ Emails
316318

317319
.. option:: --smtp-ssl-certificate-filename <path/to/cert.pem>
318320

319-
SSL certificate used for SMTP authentication
321+
An SSL certificate is to be used for authentication. If set, then `smtp-ssl-private-key` is
322+
required.
320323

321324
.. option:: --smtp-ssl-private-key-filename <path/to/key.pem>
322325

323-
SSL private key used for SMTP authentication
326+
An SSL private key is used for authentication. If set, then `smtp-ssl-certificate` is required.
324327

325328
.. _reference/cmdline/server/internationalisation:
326329

0 commit comments

Comments
 (0)