aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonstantin Ryabitsev <konstantin@linuxfoundation.org>2020-11-17 08:53:40 -0500
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2020-11-17 08:53:40 -0500
commit9b32077e352bdc07f97063a009d94d106d38019f (patch)
treefc01ff5e91ea0e8f303ce633d0fd8124e9f8a7f8
parentd48b60583b16f63b602de765c822357f383e2d2a (diff)
downloadprocmail-9b32077e352bdc07f97063a009d94d106d38019f.tar.gz
Log list-id as well
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rw-r--r--common.rc4
1 files changed, 3 insertions, 1 deletions
diff --git a/common.rc b/common.rc
index 5fe68d4..003c90b 100644
--- a/common.rc
+++ b/common.rc
@@ -2,7 +2,9 @@ LOGABSTRACT=all
COMSAT=no
LOGFILE=/var/log/grokmirror/procmail.log
PARSEMAIL=/usr/local/bin/parsemail.sh
-LOG="---`date -R`---
+LISTID=`formail -zxList-Id:`
+LOG="---`date +'%F %T.%N`---
+ List-Id: $LISTID
"
# vim: ts=2 sw=2 sts=2 et syntax=procmail