Hi. I just added a new recipe to block a specific Message-Id which
is contantly being resent to me (someone's mailing list is wacked):
# Trash a pesky repeated mailing:
:0
* LOGNAME ?? ^^matt^^
* ^Message-Id: (_dot_)544526664308989958591(_at_)lists\(_dot_)pensive\(_dot_)org
{
VERBOSE=yes
LOG="*** Trashed dupe msg ***${NEWLINE}"
HOST = blahblah
}
VERBOSE=no
Logging shows that the message is matching the conditions, but
even though i set HOST to the wrong value, the message is still
getting delivered to my inbox. I'd thought that if HOST
mismatched, procmail would quit immediately without delivery.
But logging shows:
procmail: [37856] Thu Dec 13 17:05:44 2001
procmail: Assigning "LOG=*** Trashed dupe msg ***
"
*** Trashed dupe msg ***
procmail: Assigning "HOST=blahblah"
procmail: HOST mismatched "realhost"
procmail: Assigning "PATH=/home/matt/bin:/bin:/usr/ucb:/usr/local/bin"
procmail: Locking "/var/spool/mail/matt.lock"
procmail: Assigning "LASTFOLDER=/var/spool/mail/matt"
procmail: Opening "/var/spool/mail/matt"
procmail: Acquiring kernel-lock
procmail: Unlocking "/var/spool/mail/matt.lock"
From Qpopper-errors(_at_)lists(_dot_)pensive(_dot_)org Thu Dec 13 17:05:44
2001
Subject: Re: sendmail blooking
Folder: /var/spool/mail/matt 5152
Any ideas as to what i'm missing here? TIA...
-Matt
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail