X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/48df7d969b4530c7053118fda5dbb024adf82cf8..cb1ad07539d7ccca1c1fcd2d881311980d0aae3f:/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"