Skip to content

Commit 566d82d

Browse files
std-odoosamueljlieber
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
1 parent 667da8b commit 566d82d

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

content/developer/cli.rst

Lines changed: 9 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. This field can be empty, a domain
296+
name, or an entire email address. If the sender's email address does not match this set filter,
297+
then the email will be encapsulated using a combination of the two system parameters:
298+
``mail.default.from`` and ``mail.catchall.domain``.
299+
For example "Admin" <admin\@example.com> => "Admin" <notifications\@mycompany.com>.
298300

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

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

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

319-
SSL certificate used for SMTP authentication
321+
A 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+
A SSL private key is to be used for authentication. If set, then "smtp-ssl-certificate" is
327+
required.
324328

325329
.. _reference/cmdline/server/internationalisation:
326330

0 commit comments

Comments
 (0)