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