On Sat Jan 04 1997, Paul O Bartlett wrote:
I use procmail v3.10 (what my ISP has) under SunOS 4.1.4. Mostly
I use it just for filtering incoming mailing list mails into separate
folders. However, recently I have found myself wanting to discard
certain mails from certain individuals on given lists, so I use a
recipe something like this (ahead of the general recipe for that
mailing list):
:0:
* ^TO.*_such_and_such_a_list_
* ^From:.*_such_and_such_a_person_
/dev/null
as appropriate for the headers for each list.
Normally, due to volume, I run with logging off once delivery
recipes are debugged, and this has not caused me any problems.
However, for tracking purposes, I would like to log just those mails
that I am throwing into the bit bucket. Some time ago, I tried the
I do a similar thing, but instead of throwing these messages into the
bit bucket, I put them into a unique maildrop folder/file. The
procmail log shows the delivery, and I can at any time check on what
is being "discarded" and delete these messages manually.
This way I feel "safer" about what is being thrown away.
following, which I would call in with
INCLUDERC=bitbucket.rc
[munch on interesting recipe]
Unfortunately, when I tried this method some time ago, it did not
work: it was throwing away everything destined for a given list! Now
that I want to get back to it, I cannot figure out what I am doing
wrong. I admit that I am not much of a procmail expert, and I do not
recall seeing anything quite like this in the man pages.
Cheers
Tony