Hello Aubrey,
> Just thought I would share this in case anyone
> else finds useful. I am getting a large amount of
> spam with just a PDF attachment (a worm) and a
> blank email
> here is a bit of regex that catches them
Somehow your solution did not work here. Just tried another way with
some messages here, and it seems to work:
------------------------------
Condition:
Text [match] ^$
AND Message source [match] \d{10}.pdf
------------------------------
^$ is the regex for "empty string" and \d{10}.pdf catches the
attachments that (at least at the moment) always have a 10 digit
number at the end of the filename.
Here's the filter for pasting:
$$$$ TB! Message Filter $$$$
beginFilter
UID: [ADB1D37C.01C7C88C.6ED986D8.5693C83F]
Name: Uncatched\20Spam
Filter: {\0D\0A\20`4`2`^$\0D\0A0`6`2`/5Cd{10}.pdf\0D\0A}
SetMemo Text blankPDF\0D\0A
MoveMessage folder \5C\5C\5C$JUNK$
SetColour 2031922646
IsActive
Ignore
endFilter
What do you think? I am not the most experienced when it comes to
regex, so maybe some guru might want to have a look at it?
--
Martin
TB! 3.99.3 on Windows XP 5.1 Service Pack 2
________________________________________________
Current version is 3.99 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html