procmail
[Top] [All Lists]

Re: A nice spam service

1997-07-30 01:53:00
Philo writes on 29 July 1997 at 13:40:40
At 12:24 PM 7/29/97 -0400, Roderick Schertler wrote:

[...]
If you don't like getting duplicates why not just fix the problem for
yourself?  Drop duplicates on your end and they will never bother you
again.

Isn't this the argument usually used by spammers? If you don't like it-
just delete it. Meanwhile, the spam still takes up bandwidth.

Perhaps, but the difference is that in this particular case it is
possible to automatically drop the duplicate since both the list
message and your CC: have the same Message-Id:.  Spam is much more
difficult to delete in an automated manner.

One of the things I do near the beginning of my ~/.procmailrc is:
  # discard duplicate messages right away
  # Well, wait until interesting headers have been extracted for better logging
  #:0Wh:msgid.lock
  #| formail -D 8192 .msgid.cache
  :0H
  * ^Message-ID:
  * ? formail -D 8192 .msgid.cache
  {
    LOG="dupcheck: discarded $MESSAGEID from $SENDER
"

    # to actually save them away, add a ':' after the 0 (to enable locking)
    # and replace /dev/null with the desired filename (todo/duplicates)
    :0
    /dev/null
  }

   Dan
------------------- message is author's opinion only ------------------
J. Daniel Smith <DanS(_at_)bristol(_dot_)com>        
http://www.bristol.com/~DanS
Bristol Technology B.V.                   +31 33 450 50 50, ...51 (FAX)
Amersfoort, The Netherlands               {info,jobs}(_at_)bristol(_dot_)com

<Prev in Thread] Current Thread [Next in Thread>