Add tag to LOGIN command in debug omiting the credentials (commented)
patch dd4031d5b1d6adb28dec8dd4ebef7e6da146ce12
Author: Enrique D. Bosch <presidev@AT@gmail.com>
Date: Thu Aug 17 02:18:12 CEST 2017
* Add tag to LOGIN command in debug omiting the credentials (commented)
diff -rN -u old-idlebiff/idlebiff new-idlebiff/idlebiff
--- old-idlebiff/idlebiff 2024-05-06 00:31:04.364526367 +0200
+++ new-idlebiff/idlebiff 2024-05-06 00:31:04.364526367 +0200
@@ -262,7 +262,7 @@
proc imap_command { con com } \
{
-# if [regexp {.*LOGIN.*} $com] {puts "C: LOGIN"} else {puts "C: $com"}
+# if [regexp {.*LOGIN.*} $com] {puts "C: [string range $com 0 10]"} else {puts "C: $com"}
if [ catch { puts $con $com } ] \
{
recon $con