nmh-workers
[Top] [All Lists]

Re: sorting uniquely by message-id

2020-09-20 09:48:49
Dear Ralph,

sort -k 3 | sort -k 2

I don't think that does what you intend.
Anything achieved by the first sort is discarded by the second.

Indeed it does not.

Attached is a better version. I switched it also to use the unit
separator (number 31, like number 29 but for fields of a record).

So now the unnecessarily complex attack is to send a unit separator,
and the simple attack is still to send the exact same message-id.
I suppose you can check SPF, &c to mitigate either attack.

Respectfully yours,
Krullen Van De Trap

Attachment: dupl
Description: dupl

Attachment: dedupl-list
Description: dedupl-list

<Prev in Thread] Current Thread [Next in Thread>