Skip to content

Commit 0294f8c

Browse files
committed
[IMP]Misc:SysParm-edits-email-doc
1 parent f6ae80e commit 0294f8c

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

content/applications/general/email_communication/email_servers.rst

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,3 +271,31 @@ By default, inbound messages are fetched every 5 minutes for on-premise database
271271
This value can be changed in :ref:`developer mode <developer-mode>`. Go to
272272
:menuselection:`Settings --> Technical --> Automation --> Scheduled Actions` and look for
273273
:guilabel:`Mail: Fetchmail Service`.
274+
275+
System parameters that prevent loops
276+
------------------------------------
277+
278+
There are two system parameters that prevent email loops from occurring in Odoo. These parameters
279+
were introduced in Odoo 16 to prevent aliases from creating too many records and to prevent feedback
280+
loops on the catchall reply-to email address.
281+
282+
The two system parameters are as follows:
283+
284+
- ``mail.incoming.limit.period`` (60 minutes by default)
285+
- ``mail.incoming.limit.alias`` (5 by default)
286+
287+
Access these fields in Odoo by navigating to (in :ref:`developer mode <developer-mode>`)
288+
:menuselection:`Settings --> Technical Menu --> Parameters --> System Parameters`
289+
290+
When an email is received in the Odoo database on the catchall email address or on any alias, Odoo
291+
looks at the mail received for the given period of time defined in the system parameter
292+
``mail.incoming.limit.period``. If the received email was sent to an alias then Odoo will reference
293+
the ``mail.incoming.limit.alias`` system parameter and determine the value as the number of records
294+
this alias is allowed to create in the give period of time (value of
295+
``mail.incoming.limit.period``).
296+
297+
In addition when email is received to the catchall email address Odoo will reference the emails
298+
received to the database during the set period of time (as stated by the value in the system
299+
parameter: ``mail.incoming.limit.period``). Odoo will then determine whether any of the emails
300+
received match that of the email being received and prevent a loop from occurring if a duplicate
301+
email should be present.

0 commit comments

Comments
 (0)