[exim-dev] [Bug 2956] util to convert message id to human-readable time
https://bugs.exim.org/show_bug.cgi?id=2956 --- Comment #5 from Andrew Aitchison --- Created attachment 1435 --> https://bugs.exim.org/attachment.cgi?id=1435&action=edit exim_msgdate utility Thought I might as well give you the patch. -- You are receiving this mail because: You are on the CC list for the bug. -- ## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
[exim-dev] [Bug 2956] util to convert message id to human-readable time
https://bugs.exim.org/show_bug.cgi?id=2956 --- Comment #6 from Jeremy Harris --- - It's using a hardwired config file path, at least in the testsuite. Noticing the -C the testharness gave it would be good; but for production use - how about using `exim -bP localhost_number' as a default for no "-C foo" given? - I like single-char options where feasible, at least for common-use ones. Maybe "-z" as an alternate for --zulu, as sed bu exim_dumpdb? Also the help text should define the default. - On the name, I'm easy. exim_msgdate is as good as any. - Makefile/shell syntax - we'll run with that until we find a platform that can't handle it. - Are you OK with GPLv2-or-later? Needs an SPDX line. - Some verbiage in doc/doc-doc-book/spec.xfpt please. -- You are receiving this mail because: You are on the CC list for the bug. -- ## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
[exim-dev] [Bug 2956] util to convert message id to human-readable time
https://bugs.exim.org/show_bug.cgi?id=2956 --- Comment #3 from Andrew Aitchison --- I have a patch ready to submit, but I am not sure what to call the utility. My working name is exim_msgdate but it should really have "msgid" in it. eximmsgiddate has doubled letters in the wrong places. Existing tools start with exi_ (exim_checkaccess exim_dbmbuild exim_dumpdb exim_fixdb exim_lock exim_msgdate eximstats exim_tidydb) exi (exicyclog exigrep exinext exipick exiqgrep exiqsumm exiwhat) or exim (eximstats) so perhaps exi_msgid_date ? I have had to use the new (to exim build) feature ${parameter:-word} in the make shell script of src/OS/Makefile-Base. What shells are used inside make on the various platforms ? set BASE_62=36 echo BASE_62 | sed -e "s?BASE_62?${BASE_62:-62}?" gives 36 on the shells I've tested (bash, dash = sh, ksh on Ubuntu 22:10 and bash and sh on RedHat 6!) but these are modern, posix-type shells. Can anyone test this on the other platforms on the build farm ? Use Or should I just submit the patch as it is ? -- You are receiving this mail because: You are on the CC list for the bug. -- ## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
[exim-dev] [Bug 2956] util to convert message id to human-readable time
https://bugs.exim.org/show_bug.cgi?id=2956 --- Comment #4 from Andrew Aitchison --- Oops. Accidentally submitted the previous comment prematurely. Part 2 should have included the suggestion: Use echo BASE_62 | sed -e "s?BASE_62?$${BASE_62:-62}?" with doubled $ if you test inside a Makefile. Still interested in thoughts on the utilitiy's name. -- You are receiving this mail because: You are on the CC list for the bug. -- ## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
[exim-dev] [Bug 2434] information about time from start of smtp connection exists only for some log messages
https://bugs.exim.org/show_bug.cgi?id=2434 Jeremy Harris changed: What|Removed |Added Resolution|--- |FIXED Status|WAIT_FIX_CONFIRMATION |RESOLVED --- Comment #5 from Jeremy Harris --- Nobody commented -- You are receiving this mail because: You are on the CC list for the bug. -- ## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##