procmail
[Top] [All Lists]

Re: Two simple recipes that don't work

2004-02-29 08:37:37
On Sat, 2004-02-28 at 23:11, Ruud H.G. van Tol wrote:
Toen ik Robert Krueger kietelde, kwam er dit uit:

 This should eliminate all HTML messages

   :0:
   * ^Content-Type: text/html
   blue-spam

Check the headers of any messages that you think should have been
caught. The Content-Type:header will no doubt be different.


[...] I continue to receive these
Viagra emails, about two every 12 hours, the latest of which I've posted
below.

   :0 :
   * B ?? (pr...|c...|p...|viagra)
   red-spam

That reg.exp is far to broad. A dot matches any letter. Or did you
munge it? Better mention if you did.

  Uhh...yes, I changed the text, not appropriate for a public viewing
IMO.  ( I guess that's munging... )


Content-Type: text/plain
Content-Transfer-Encoding: base64
[...]
Buy Viagra and Cialas Aka "Super Viagra"..The Viagra that last all
weekend!.. and other popular medications. Next-Day Fedex

That body fragment doesn't look like base64-encoded plain-text.
I assume you copied the header and the body in two different ways
into your message to us.

To catch base64-encoded text with non-base64-encoded reg.exps won't
work. Either uncode the body first, or use reg.exps that actually
match what you receive.

 Sorry to say, but I really don't have any experience with character
encoding, so I don't know how to do that.  In Evolution, I selected
"View Full Headers", selected "Select All" and simply did a cut and
paste to my email to the group.  It cut and pasted the entire email at
once, including the header. I saw no other options.  You'll have to tell
me if there's another way I'm supposed to do this.


Or just send any message with these headers
   Content-Type: text/plain
   Content-Transfer-Encoding: base64
to some color-spam-box, because it
sure is a silly combo.

    :0:
    * ^Content-Type:.*text/plain
    * ^Content-Transfer-Encoding:.*base64
    silly-spam

Because you've raised some questions, I'll wait to add this change until
you respond.

Thanks,
Robert

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail