Skip to content

Commit 2d7b056

Browse files
committed
[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 bcc8498 commit 2d7b056

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

content/developer/misc/other/cmdline.rst

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -292,9 +292,7 @@ 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 name, or an entire email address. If the sender's email address does not match this set filter, then the email will be encapsulated using a combination of the two system parameters: mail.default.from | mail.catchall.domain. For example "Admin" <admin@example.com> => "Admin" <notifications@mycompany.com>.
298296

299297
.. option:: --smtp <server>
300298

@@ -316,11 +314,11 @@ Emails
316314

317315
.. option:: --smtp-ssl-certificate-filename <path/to/cert.pem>
318316

319-
SSL certificate used for SMTP authentication
317+
A SSL certificate is to be used for authentication. If set, then "smtp-ssl-private-key" is required.
320318

321-
.. option:: --smtp-ssl-private-key-filename <path/to/key.pem>
319+
.. option:: --smtp-ssl-private-key-filename <SSL private key>
322320

323-
SSL private key used for SMTP authentication
321+
A SSL private key is to be used for authentication. If set, then "smtp-ssl-certificate" is required.
324322

325323
.. _reference/cmdline/server/internationalisation:
326324

0 commit comments

Comments
 (0)