X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/90813e3aadae850602b792360ac8b7987f857c9b..b3c3c1782c5bd56cc75b5f13bc8804f3db12fa6b:/procmail/logging diff --git a/procmail/logging b/procmail/logging index 3695b71..d6fc083 100644 --- a/procmail/logging +++ b/procmail/logging @@ -5,15 +5,20 @@ MSGIDDIR=$PMVAR/msgid :0 * MSGID ?? ^<\/[^>]+ { - THISLOGFILE_REL=`echo $MATCH | tr -d "'\"?[:cntrl:]" | tr ' /*' '__+'`%$OURDATE_SHORT + THISLOGFILE_REL=`echo $MATCH | tr -d "'\"?[:cntrl:]" | tr ' /*$' '__+S'`%$OURDATE_SHORT THISLOGFILE="$MSGIDDIR/$THISLOGFILE_REL" } MASTERLOGFILE="$LOGFILE" LOGFILE="$THISLOGFILE" -LOG="============================================================================== -msgid: $MSGID +LOG="==============================================================================$NL" + +:0 +* LOGLATER ?? . +{ LOG="$LOGLATER" } + +LOG="msgid: $MSGID logfile: $THISLOGFILE_REL date: $DATE (@$OURDATE) from: $FROM