| View previous topic :: View next topic |
| Author |
Message |
Web Dawg
Guest IP: 209.250.*.*
|
Posted: Thu Dec 04, 2003 3:34 pm Post subject: Filter Help! |
|
|
I know this was posted earlier, but I can't find it now.
I want to add ALL emails from addresses that start with a number, to my blacklist.
Anyone have the formula?
Thanks
|
|
| Back to top |
|
 |
denn988
Guest IP: 66.44.*.*
|
Posted: Thu Dec 04, 2003 5:42 pm Post subject: |
|
|
Rather than having it placed on your blacklist, you might just want to filter it to be marked for deletion and NOT deleted automatically.
If, after time, you should find that you are getting no false positives on this, then yopu may want to have that filter auto-delete.
In the meantime...a filter that you could play with could be set up something like this:
The return path...
contains RegExpr...
Mark mail to be deleted...
perform the action: on "Proccess mail" (recommended)
You may want to think about this before you auto-delete on this stratrgy. There is nothing that prevents a legitimate user from having an e-mail address that begins with a number. I have seen such legitimate addresses (for example..."1jewell@..."). Any filter that looks for such an address could result in false positives.
|
|
| Back to top |
|
 |
Web Dawg
Guest IP: 209.250.*.*
|
Posted: Thu Dec 04, 2003 6:14 pm Post subject: |
|
|
Is this the correct way to enter the filter?
Rules:
The "From Field"
contains
<\d+[\w.]*?@
|
|
| Back to top |
|
 |
Perry
Lieutenant

 Joined: Oct 19, 2003 Posts: 291 Location: USA
|
Posted: Thu Dec 04, 2003 9:20 pm Post subject: |
|
|
| denn988 wrote: | Rather than having it placed on your blacklist, you might just want to filter it to be marked for deletion and NOT deleted automatically.
If, after time, you should find that you are getting no false positives on this, then yopu may want to have that filter auto-delete.
In the meantime...a filter that you could play with could be set up something like this:
The return path...
contains RegExpr...
Mark mail to be deleted...
perform the action: on "Proccess mail" (recommended)
You may want to think about this before you auto-delete on this stratrgy. There is nothing that prevents a legitimate user from having an e-mail address that begins with a number. I have seen such legitimate addresses (for example..."1jewell@..."). Any filter that looks for such an address could result in false positives. |
You could use the auto delete by number and auto delete by letter if you include the second part of the address. Some providers do use numbers as the first part of the local part so if used such a filter and a second part of it included the domain then you would have an accurate filter. Likewise some providers do not use numbers at all or have trailing numbers in the local part. Doing a similar check on the domain would provide another accurate filter.
I would never autodelete using a singular filter for numbers, however I certainly would if I knew the formats of various providers for the local part of the address.
Perry
|
|
| Back to top |
|
 |
Web Dawg
Guest IP: 209.250.*.*
|
|
| Back to top |
|
 |
Web Dawg
Guest IP: 209.250.*.*
|
Posted: Fri Dec 05, 2003 3:59 am Post subject: |
|
|
bump
Thanks
|
|
| Back to top |
|
 |
Ikeb
Special Response Team Forums Admin
 Joined: Apr 20, 2003 Posts: 16542
|
Posted: Fri Dec 05, 2003 4:53 am Post subject: |
|
|
So only look for digits before the '@' sign. Something like
should do it.
|
|
| Back to top |
|
 |
denn988
Guest IP: 66.44.*.*
|
Posted: Fri Dec 05, 2003 1:21 pm Post subject: |
|
|
Web Dawg,
The expression will work for all numbers as well. There is no need to use a different expression for the example you have given.
If, on the other hand, you need a filter that will only trigger on 'all numbers', use the filter variance that Ikeb posted (<\d*?@) , except change the * to a +. You would want to trigger on at least one numeral.
|
|
| Back to top |
|
 |
Web Dawg
Guest IP: 209.250.*.*
|
Posted: Fri Dec 05, 2003 1:40 pm Post subject: |
|
|
Thanks everyone. I will give these a test.
|
|
| Back to top |
|
 |
|
|