Re: Best way to catch "no ^From:" spam?1999-01-15 10:45:31Jim Osborn suggested to Jeff Schaller, | Here's the recipe I use: | | :0 H: | * ! ^From: | $TRASH | | :0 H: | * ^From: *$ | $TRASH You can combine those two into one. Also, it has a couple vulnerabilities: a From: line consisting only of tabs would pass, while a message with one valid From: line and one invalid one would be sent to the trash folder. :0: # H is implicit in the absence of B * !^From:.*[^ ] $TRASH The brackets enclose caret, space, tab.
|
|