X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/48df7d969b4530c7053118fda5dbb024adf82cf8..016e0df0c545dddb3ef9097b1a52032e38ecd8ef:/procmail/logging diff --git a/procmail/logging b/procmail/logging index d683e49..d812032 100644 --- a/procmail/logging +++ b/procmail/logging @@ -20,7 +20,8 @@ from: $FROM original-to: $ORIGINAL_TO subject: $SUBJECT$NL" -TRAP="echo \"delivered: \${LASTFOLDER#$BASE/}\" >> '$THISLOGFILE'; +TRAP="DEST=\"\${LASTFOLDER#$BASE/}\"; + echo \"delivered: \$DEST\" >> '$THISLOGFILE'; echo >> '$THISLOGFILE'; egrep -v '^XX(procmail:)?[[:space:]\"]' '$THISLOGFILE' >> $MASTERLOGFILE"