[exim-dev] [Bug 1426] New: smtp_ratelimit_rcpt with factor l…

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Ian McDonnel l
Fecha:  
A: exim-dev
Temas nuevos: [exim-dev] [Bug 1426] smtp_ratelimit_rcpt with factor less than 1.0, [exim-dev] [Bug 1426] smtp_ratelimit_rcpt with factor less than 1.0, [exim-dev] [Bug 1426] smtp_ratelimit_rcpt with factor less than 1.0, [exim-dev] [Bug 1426] smtp_ratelimit_rcpt with factor less than 1.0, [exim-dev] [Bug 1426] smtp_ratelimit_rcpt with factor less than 1.0, [exim-dev] [Bug 1426] smtp_ratelimit_rcpt with factor less than 1.0, [exim-dev] [Bug 1426] smtp_ratelimit_rcpt with factor less than 1.0, [exim-dev] [Bug 1426] smtp_ratelimit_rcpt with factor less than 1.0, [exim-dev] [Bug 1426] smtp_ratelimit_rcpt with factor less than 1.0, [exim-dev] [Bug 1426] smtp_ratelimit_rcpt with factor less than 1.0, [exim-dev] [Bug 1426] smtp_ratelimit_rcpt with factor less than 1.0
Asunto: [exim-dev] [Bug 1426] New: smtp_ratelimit_rcpt with factor less than 1.0
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1426
           Summary: smtp_ratelimit_rcpt with factor less than 1.0
           Product: Exim
           Version: 4.72
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: low
         Component: SMTP Authentication
        AssignedTo: pdp@???
        ReportedBy: ij.exim@???
                CC: exim-dev@???



When using smtp_ratelimit_rcpt with a factor less than one (1)
the delay tends to zero. When reaching zero (or close to zero)
Exim smtp receiver hangs when performing the (zero) delay operation.

Test case: set smtp_ratelimit_rcpt in config, submit a message to
multiple recipients.

smtp_ratelimit_rcpt = 0,18s,0.1,1m

Send a message to at least 8 recipients.

The debug log shows the delay period value and pauses during the delay.
When period gets close to zero, Exim delays indefinitely.

Can probably be fixed simply by adding a test for a delay of zero
around the call to sleep/delay.

-----

The intended use-case by user, using a setting of "0,18s,0.1,1m",
is to delay the response for the first RCPT command, then
respond more rapidly to any subsequent recipients commands.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email