I am trying to create a filter which matches From: headers that dont have a proper
email address in them (or at least, are missing an '@'. So far, I have this:
headers "^From\:( |[^@\s])*$" [EMAIL PROTECTED]
This would be simpler if one could exclude end-of-line inside brackets which I dont
think is possible. Instead this expression just excludes all whitespace characters
except for space.
When this works I plan to change the the action to drop. I havent had any hits on this
rule yet so I'm wondering if it has a bug in it. I did test it on body eg with:
From: "blah" <>
or
From: "blah" joe
which are the types of lines I'm trying to catch, and it did match.
Anyone see a problem with this filter?
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users