X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/0f4bcee75353935ff9bc605f7e0b31d12e302605..18ac4f995c4d175bc636fdd78919a18e131afdcf:/procmail/logging diff --git a/procmail/logging b/procmail/logging index 38b901a..a606b2a 100644 --- a/procmail/logging +++ b/procmail/logging @@ -20,7 +20,8 @@ from: $FROM original-to: $ORIGINAL_TO subject: $SUBJECT$NL" -TRAP="echo >> '$THISLOGFILE'; +TRAP="DESTFILE=\"\${LASTFOLDER#$BASE/}\"; + echo >> '$THISLOGFILE'; egrep -v '^XX(procmail:)?[[:space:]\"]' '$THISLOGFILE' >> $MASTERLOGFILE" #VERBOSE=yes