X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/90813e3aadae850602b792360ac8b7987f857c9b..864bba9e27d4b47043898efaa709281986ba36ff:/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