[exim-dev] [Bug 2032] New: -bp sorts according to Exim messa…

Góra strony
Delete this message
Reply to this message
Autor: admin
Data:  
Dla: exim-dev
Nowe tematy: [exim-dev] [Bug 2032] -bp sorts according to Exim message id, not chronologically, [exim-dev] [Bug 2032] -bp sorts according to Exim message id, not chronologically, [exim-dev] [Bug 2032] -bp sorts according to Exim message id, not chronologically
Temat: [exim-dev] [Bug 2032] New: -bp sorts according to Exim message id, not chronologically
https://bugs.exim.org/show_bug.cgi?id=2032

            Bug ID: 2032
           Summary: -bp sorts according to Exim message id, not
                    chronologically
           Product: Exim
           Version: 4.88
          Hardware: All
                OS: All
            Status: NEW
          Severity: bug
          Priority: medium
         Component: General execution
          Assignee: nigel@???
          Reporter: km@???
                CC: exim-dev@???


Re. this commit:
https://git.exim.org/exim.git/commit/b402f29499e9790419ff4dc8bb3462552e98e827

Documentation for the -bp command line option say nothing about the order of
messages, but -bpr indicates that -bp should be sorting messages into
chronological order of message arrival.

However, -bp does not sort the messages chronologically, but based on message
id. Message id consists of three components:
<epoch-time>-<pid>-<time-fraction>. If two messages are received during the
same second, the order will depend on pid. On some systems process ids will be
increasing, thus giving the intended sorting order as long as pid doesn't wrap,
but some systems/configuration assign pids randomly.

Discussions with Heiko on #exim suggest -bp should be fixed to do chronological
sorting, rather than message id sorting.

--
You are receiving this mail because:
You are on the CC list for the bug.