Mailing List Archive

[clamav-users] Fwd: [OT] Heuristics.Phishing.Email.SpoofedDomain...
> Is there an updated convention for this?

I believe it's more or less unchanged since version 8.6 of Sendmail
> (from the early 1990's). The ID is generated in assign_queueid() in
> .../sendmail/queue.c, which uses the integer as an index to the string
> "0123456789ABCDEF... you get the picture ....vwxyz"


So how does 001CJwkY1702541 translate to this? first 0 = 2020, second 0 =
January, third 0 = first of the month but how does CJw --> hour, minute,
second?

Also, tapping into your regex skills I'm trying to sort mails in quarantine
to include year. I have this:

mailq -qQ|grep "^[A-F0-9]" | sort -k8n -k4M -k5n -k6n|more
001CJwkY1702541 5623 Wed Jan 1 07:19
<3407-238-87890-1062-ouruser=ourdomani.ed
001D02KP1709240 188941 Wed Jan 1 08:00 <ouruser@ourdomain.edu
<css-rh-bounces@dsm.fordham.edu>>
001IECdg1762795 4394 Wed Jan 1 13:14
<4408-492-342908-717-ouruser=ourdomain.edu <http://dsm.fordham.edu>
102AQKeQ2731196 5771 Sat Jan 2 05:26
<25353-49186-27195-6631-ouruser=ourdomain
002D03oe1955787 188941 Thu Jan 2 08:00 ouruser@ourdomain.edu
<css-rh-bounces@dsm.fordham.edu>>
102DY4K52763204 3333 Sat Jan 2 08:34 <ouruser=ourdomain
002FxXhJ1991257 52490 Thu Jan 2 10:59 <ouruser.oudrdomain.edu@for
0038YBCi2162706 7096 Fri Jan 3 03:34 <EsmeraldaPsychic@ascendflax.co>

But that does doesn't take into account the year. Any idea how to add to
the sort to look at the first character?