X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/0f4bcee75353935ff9bc605f7e0b31d12e302605..85ddf5c7f3b93d3e37870294b11bc616c75aaecd:/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