PDA

View Full Version : email filter


xtendedf
10-14-2006, 07:49 AM
trying out a filter but not very good with regex.
i'm trying to filter out any messages that doesn't have the
word "codeword" on the subject. the best i could do was
the match on regex expression [^codeword] but this requires
an EXACT MATCH on the word "codeword". i need to wildcard
"codeword" so that messages with "codeword" in the subject
line will get thru. in other words, "codeword" can appear anywhere
on the subject line. i've tried [^/codeword/], [^/.codeword./]
but no luck.

xtendedf
10-17-2006, 09:06 PM
in the internet, anybody can get anybody's email address, but
the addressee should decide who gets to send him/her any
emails. by applying a filter to look for an arbitrary string (code),
all emails without this determinant (code) will be rejected.

to allow senders to write emails to your address, you must give
them permission by telling them the code.

this is the email filter i've come up with: my code which will
allow emails thru is "xyz". using the construct:
"subject that matches regex ^(?!xyz).*", this filter only allows
emails whose subject line starts with "xyz". i'm not a regex
expert. somebody on the regex newsgroup gave me the expression
and i thought i would share it.

sjlplat
10-18-2006, 08:36 AM
I don't use aggressive server-side mail filters. I setup all my aggressive filters in Opera (my browser/email/news program of choice). I find that it is much easier to sort filtered messages when they're stored locally.

I setup separate filters to organize pretty much every message I receive on all my various email addresses in a single location. It makes finding things a breeze. It's a lot like having your own personal secretary on-the-fly. :cool: